home *** CD-ROM | disk | FTP | other *** search
/ CD Fun House 7 / CD FunHouse 7 For The Macintosh (Wayzata)(1992).iso / • Interesting Stuff • / Fish ••• / Read Me Now, or Regret It Later / Read Me Now, or Regret It Later.rsrc / CODE_1.txt < prev    next >
Text File  |  1989-10-24  |  130KB  |  2,332 lines

  1. # near model CODE resource
  2. # jump table entries: 0-0 (1 of them)
  3. export_0:
  4. 00000000  4E56 0000                link       A6, 0
  5. 00000004  6128                     bsr        +0x2A /* 0000002E */
  6. 00000006  4EBA 0104                jsr        [PC + 0x104 /* 0000010C */]
  7. 0000000A  4A00                     tst.b      D0
  8. 0000000C  6706                     beq        +0x8 /* 00000014 */
  9. 0000000E  4EBA 0648                jsr        [PC + 0x648 /* 00000658 */]
  10. 00000012  6016                     bra        +0x18 /* 0000002A */
  11. label00000014:
  12. 00000014  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  13. 00000018  4EBA 143C                jsr        [PC + 0x143C /* 00001456 */]
  14. 0000001C  544F                     addq.w     A7, 2
  15. 0000001E  4A40                     tst.w      D0
  16. 00000020  6708                     beq        +0xA /* 0000002A */
  17. 00000022  3F00                     move.w     -[A7], D0
  18. 00000024  4EBA 0F14                jsr        [PC + 0xF14 /* 00000F3A */]
  19. 00000028  544F                     addq.w     A7, 2
  20. label0000002A:
  21. 0000002A  4E5E                     unlink     A6
  22. 0000002C  A9F4                     syscall    ExitToShell
  23. fn0000002E:
  24. 0000002E  4E56 0000                link       A6, 0
  25. 00000032  48E7 0C00                movem.l    -[A7], D4,D5
  26. 00000036  486D FFFC                pea.l      [A5 - 0x4]
  27. 0000003A  A86E                     syscall    InitGraf
  28. 0000003C  A8FE                     syscall    InitFonts
  29. 0000003E  A912                     syscall    InitWindows
  30. 00000040  A930                     syscall    InitMenus
  31. 00000042  A9CC                     syscall    TEInit
  32. 00000044  42A7                     clr.l      -[A7]
  33. 00000046  A97B                     syscall    InitDialogs
  34. 00000048  A850                     syscall    InitCursor
  35. 0000004A  42AD FEE0                clr.l      [A5 - 0x120]
  36. 0000004E  42A7                     clr.l      -[A7]
  37. 00000050  A8D8                     syscall    NewRgn
  38. 00000052  201F                     move.l     D0, [A7]+
  39. 00000054  2B40 FEEA                move.l     [A5 - 0x116], D0
  40. 00000058  42A7                     clr.l      -[A7]
  41. 0000005A  3F3C 001E                move.w     -[A7], 0x1E
  42. 0000005E  A9BF                     syscall    GetRMenu
  43. 00000060  201F                     move.l     D0, [A7]+
  44. 00000062  2B40 FEEE                move.l     [A5 - 0x112], D0
  45. 00000066  2F00                     move.l     -[A7], D0
  46. 00000068  2F3C 4452 5652           move.l     -[A7], 0x44525652 /* 'DRVR' */
  47. 0000006E  A94D                     syscall    AppendResMenu/AddResMenu
  48. 00000070  2F2D FEEE                move.l     -[A7], [A5 - 0x112]
  49. 00000074  3F3C 0001                move.w     -[A7], 0x1
  50. 00000078  486D FDB6                pea.l      [A5 - 0x24A]
  51. 0000007C  A946                     syscall    GetMenuItemText/GetItem
  52. 0000007E  7801                     moveq.l    D4, 0x01
  53. 00000080  162D FDB6                move.b     D3, [A5 - 0x24A]
  54. 00000084  0243 00FF                andi.w     D3, 0xFF
  55. 00000088  3A03                     move.w     D5, D3
  56. 0000008A  6014                     bra        +0x16 /* 000000A0 */
  57. label0000008C:
  58. 0000008C  5245                     addq.w     D5, 1
  59. 0000008E  45ED FDB6                lea.l      A2, [A5 - 0x24A]
  60. 00000092  3604                     move.w     D3, D4
  61. 00000094  5244                     addq.w     D4, 1
  62. 00000096  48C3                     ext.l      D3
  63. 00000098  2243                     movea.l    A1, D3
  64. 0000009A  15A9 0910 5000           move.b     [A2 + D5.w], [A1 + 0x910]
  65. label000000A0:
  66. 000000A0  1638 0910                move.b     D3, [0x00000910 /* CurApName */]
  67. 000000A4  4883                     ext.w      D3
  68. 000000A6  B843                     cmp.w      D4, D3
  69. 000000A8  6FE2                     ble        -0x1C /* 0000008C */
  70. 000000AA  5245                     addq.w     D5, 1
  71. 000000AC  45ED FDB6                lea.l      A2, [A5 - 0x24A]
  72. 000000B0  15BC 00C9 5000           move.b     [A2 + D5.w], 0xC9
  73. 000000B6  1B45 FDB6                move.b     [A5 - 0x24A], D5
  74. 000000BA  2F2D FEEE                move.l     -[A7], [A5 - 0x112]
  75. 000000BE  3F3C 0001                move.w     -[A7], 0x1
  76. 000000C2  486D FDB6                pea.l      [A5 - 0x24A]
  77. 000000C6  A947                     syscall    SetMenuItemText/SetItem
  78. 000000C8  2F2D FEEE                move.l     -[A7], [A5 - 0x112]
  79. 000000CC  4267                     clr.w      -[A7]
  80. 000000CE  A935                     syscall    InsertMenu
  81. 000000D0  42A7                     clr.l      -[A7]
  82. 000000D2  3F3C 001F                move.w     -[A7], 0x1F
  83. 000000D6  A9BF                     syscall    GetRMenu
  84. 000000D8  201F                     move.l     D0, [A7]+
  85. 000000DA  2B40 FEF2                move.l     [A5 - 0x10E], D0
  86. 000000DE  2F00                     move.l     -[A7], D0
  87. 000000E0  4267                     clr.w      -[A7]
  88. 000000E2  A935                     syscall    InsertMenu
  89. 000000E4  42A7                     clr.l      -[A7]
  90. 000000E6  3F3C 0020                move.w     -[A7], 0x20 /* ' ' */
  91. 000000EA  A9BF                     syscall    GetRMenu
  92. 000000EC  201F                     move.l     D0, [A7]+
  93. 000000EE  2B40 FEF6                move.l     [A5 - 0x10A], D0
  94. 000000F2  2F00                     move.l     -[A7], D0
  95. 000000F4  4267                     clr.w      -[A7]
  96. 000000F6  A935                     syscall    InsertMenu
  97. 000000F8  A937                     syscall    DrawMenuBar
  98. 000000FA  3B7C FFFF FDAA           move.w     [A5 - 0x256], 0xFFFF
  99. 00000100  426D FDA6                clr.w      [A5 - 0x25A]
  100. 00000104  4CDF 0030                movem.l    D4,D5, [A7]+
  101. 00000108  4E5E                     unlink     A6
  102. 0000010A  4E75                     rts
  103. fn0000010C:
  104. 0000010C  4E56 FFDC                link       A6, -0x0024
  105. 00000110  48E7 0E10                movem.l    -[A7], D4,D5,D6,A3
  106. 00000114  486E FFF2                pea.l      [A6 - 0xE]
  107. 00000118  486D FDB6                pea.l      [A5 - 0x24A]
  108. 0000011C  4EBA 13B6                jsr        [PC + 0x13B6 /* 000014D4 */]
  109. 00000120  504F                     addq.w     A7, 8
  110. 00000122  486D FEB6                pea.l      [A5 - 0x14A]
  111. 00000126  3F2E FFF2                move.w     -[A7], [A6 - 0xE]
  112. 0000012A  2F3C 0000 0910           move.l     -[A7], 0x910
  113. 00000130  4EBA 1338                jsr        [PC + 0x1338 /* 0000146A */]
  114. 00000134  4FEF 000A                lea.l      A7, [A7 + 0xA]
  115. 00000138  3D40 FFFE                move.w     [A6 - 0x2], D0
  116. 0000013C  6714                     beq        +0x16 /* 00000152 */
  117. 0000013E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  118. 00000142  4EBA 0DF6                jsr        [PC + 0xDF6 /* 00000F3A */]
  119. 00000146  544F                     addq.w     A7, 2
  120. 00000148  7000                     moveq.l    D0, 0x00
  121. label0000014A:
  122. 0000014A  4CDF 0870                movem.l    D4,D5,D6,A3, [A7]+
  123. 0000014E  4E5E                     unlink     A6
  124. 00000150  4E75                     rts
  125. label00000152:
  126. 00000152  42A7                     clr.l      -[A7]
  127. 00000154  3F3C 0004                move.w     -[A7], 0x4
  128. 00000158  A9B9                     syscall    GetCursor
  129. 0000015A  201F                     move.l     D0, [A7]+
  130. 0000015C  2440                     movea.l    A2, D0
  131. 0000015E  2F12                     move.l     -[A7], [A2]
  132. 00000160  A851                     syscall    SetCursor
  133. 00000162  3D7C 0028 FFE0           move.w     [A6 - 0x20], 0x28 /* '(' */
  134. 00000168  362D FF8E                move.w     D3, [A5 - 0x72]
  135. 0000016C  0443 01F6                subi.w     D3, 0x1F6
  136. 00000170  E243                     asr        D3.w, 1
  137. 00000172  3D43 FFE2                move.w     [A6 - 0x1E], D3
  138. 00000176  0643 01F6                addi.w     D3, 0x1F6
  139. 0000017A  3D43 FFE6                move.w     [A6 - 0x1A], D3
  140. 0000017E  362D FF8C                move.w     D3, [A5 - 0x74]
  141. 00000182  0443 0030                subi.w     D3, 0x30 /* '0' */
  142. 00000186  0243 FFF8                andi.w     D3, 0xFFF8
  143. 0000018A  0643 0028                addi.w     D3, 0x28 /* '(' */
  144. 0000018E  3D43 FFE4                move.w     [A6 - 0x1C], D3
  145. 00000192  362E FFE4                move.w     D3, [A6 - 0x1C]
  146. 00000196  966E FFE0                sub.w      D3, [A6 - 0x20]
  147. 0000019A  3B43 FEE8                move.w     [A5 - 0x118], D3
  148. 0000019E  42A7                     clr.l      -[A7]
  149. 000001A0  42A7                     clr.l      -[A7]
  150. 000001A2  486E FFE0                pea.l      [A6 - 0x20]
  151. 000001A6  42A7                     clr.l      -[A7]
  152. 000001A8  3F3C 03E8                move.w     -[A7], 0x3E8
  153. 000001AC  A9BA                     syscall    GetString
  154. 000001AE  2D5F FFDC                move.l     [A6 - 0x24], [A7]+
  155. 000001B2  6608                     bne        +0xA /* 000001BC */
  156. 000001B4  3F3C 0002                move.w     -[A7], 0x2
  157. 000001B8  A9C8                     syscall    SysBeep
  158. 000001BA  A9F4                     syscall    ExitToShell
  159. label000001BC:
  160. 000001BC  206E FFDC                movea.l    A0, [A6 - 0x24]
  161. 000001C0  2F08                     move.l     -[A7], A0
  162. 000001C2  A029                     syscall    HLock
  163. 000001C4  205F                     movea.l    A0, [A7]+
  164. 000001C6  2F10                     move.l     -[A7], [A0]
  165. 000001C8  3F3C FFFF                move.w     -[A7], 0xFFFF
  166. 000001CC  3F3C 0004                move.w     -[A7], 0x4
  167. 000001D0  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  168. 000001D6  3F3C FFFF                move.w     -[A7], 0xFFFF
  169. 000001DA  42A7                     clr.l      -[A7]
  170. 000001DC  A913                     syscall    NewWindow
  171. 000001DE  2B57 FEB8                move.l     [A5 - 0x148], [A7]
  172. 000001E2  A873                     syscall    SetPort
  173. 000001E4  486D FEC8                pea.l      [A5 - 0x138]
  174. 000001E8  246D FEB8                movea.l    A2, [A5 - 0x148]
  175. 000001EC  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  176. 000001F0  246D FEB8                movea.l    A2, [A5 - 0x148]
  177. 000001F4  3F2A 0010                move.w     -[A7], [A2 + 0x10]
  178. 000001F8  246D FEB8                movea.l    A2, [A5 - 0x148]
  179. 000001FC  362A 0016                move.w     D3, [A2 + 0x16]
  180. 00000200  0443 0010                subi.w     D3, 0x10
  181. 00000204  3F03                     move.w     -[A7], D3
  182. 00000206  246D FEB8                movea.l    A2, [A5 - 0x148]
  183. 0000020A  3F2A 0014                move.w     -[A7], [A2 + 0x14]
  184. 0000020E  A8A7                     syscall    SetRect
  185. 00000210  42A7                     clr.l      -[A7]
  186. 00000212  3F3C 0001                move.w     -[A7], 0x1
  187. 00000216  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  188. 0000021A  4EBA 12D4                jsr        [PC + 0x12D4 /* 000014F0 */]
  189. 0000021E  504F                     addq.w     A7, 8
  190. 00000220  3D40 FFFE                move.w     [A6 - 0x2], D0
  191. 00000224  6710                     beq        +0x12 /* 00000236 */
  192. 00000226  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  193. 0000022A  4EBA 0D0E                jsr        [PC + 0xD0E /* 00000F3A */]
  194. 0000022E  544F                     addq.w     A7, 2
  195. 00000230  7000                     moveq.l    D0, 0x00
  196. 00000232  6000 FF16                bra        -0xE8 /* 0000014A */
  197. label00000236:
  198. 00000236  2D7C 0000 0002 FFFA      move.l     [A6 - 0x6], 0x2
  199. 0000023E  486D FDA8                pea.l      [A5 - 0x258]
  200. 00000242  486E FFFA                pea.l      [A6 - 0x6]
  201. 00000246  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  202. 0000024A  4EBA 1248                jsr        [PC + 0x1248 /* 00001494 */]
  203. 0000024E  4FEF 000A                lea.l      A7, [A7 + 0xA]
  204. 00000252  3D40 FFFE                move.w     [A6 - 0x2], D0
  205. 00000256  6710                     beq        +0x12 /* 00000268 */
  206. 00000258  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  207. 0000025C  4EBA 0CDC                jsr        [PC + 0xCDC /* 00000F3A */]
  208. 00000260  544F                     addq.w     A7, 2
  209. 00000262  7000                     moveq.l    D0, 0x00
  210. 00000264  6000 FEE4                bra        -0x11A /* 0000014A */
  211. label00000268:
  212. 00000268  302D FDA8                move.w     D0, [A5 - 0x258]
  213. 0000026C  C1FC 0014                muls.w     D0, 0x14
  214. 00000270  2D40 FFFA                move.l     [A6 - 0x6], D0
  215. 00000274  A11E                     syscall    NewPtr, flags=1
  216. 00000276  6610                     bne        +0x12 /* 00000288 */
  217. 00000278  2B48 FDAE                move.l     [A5 - 0x252], A0
  218. 0000027C  302D FDA8                move.w     D0, [A5 - 0x258]
  219. 00000280  48C0                     ext.l      D0
  220. 00000282  E580                     asl        D0, 2
  221. 00000284  A11E                     syscall    NewPtr, flags=1
  222. 00000286  670E                     beq        +0x10 /* 00000296 */
  223. label00000288:
  224. 00000288  3F00                     move.w     -[A7], D0
  225. 0000028A  4EBA 0CAE                jsr        [PC + 0xCAE /* 00000F3A */]
  226. 0000028E  544F                     addq.w     A7, 2
  227. 00000290  7000                     moveq.l    D0, 0x00
  228. 00000292  6000 FEB6                bra        -0x148 /* 0000014A */
  229. label00000296:
  230. 00000296  2B48 FDB2                move.l     [A5 - 0x24E], A0
  231. 0000029A  2F2D FDAE                move.l     -[A7], [A5 - 0x252]
  232. 0000029E  486E FFFA                pea.l      [A6 - 0x6]
  233. 000002A2  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  234. 000002A6  4EBA 11EC                jsr        [PC + 0x11EC /* 00001494 */]
  235. 000002AA  4FEF 000A                lea.l      A7, [A7 + 0xA]
  236. 000002AE  3D40 FFFE                move.w     [A6 - 0x2], D0
  237. 000002B2  6710                     beq        +0x12 /* 000002C4 */
  238. 000002B4  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  239. 000002B8  4EBA 0C80                jsr        [PC + 0xC80 /* 00000F3A */]
  240. 000002BC  544F                     addq.w     A7, 2
  241. 000002BE  7000                     moveq.l    D0, 0x00
  242. 000002C0  6000 FE88                bra        -0x176 /* 0000014A */
  243. label000002C4:
  244. 000002C4  362D FEE8                move.w     D3, [A5 - 0x118]
  245. 000002C8  4443                     neg.w      D3
  246. 000002CA  48C3                     ext.l      D3
  247. 000002CC  87FC 0002                divs.w     D3, 0x2
  248. 000002D0  48C3                     ext.l      D3
  249. 000002D2  2B43 FEE4                move.l     [A5 - 0x11C], D3
  250. 000002D6  426E FFF8                clr.w      [A6 - 0x8]
  251. 000002DA  4EFA 0318                jmp        [PC + 0x318 /* 000005F4 */]
  252. label000002DE:
  253. 000002DE  362E FFF8                move.w     D3, [A6 - 0x8]
  254. 000002E2  C7FC 0014                muls.w     D3, 0x14
  255. 000002E6  2443                     movea.l    A2, D3
  256. 000002E8  D5ED FDAE                add.l      A2, [A5 - 0x252]
  257. 000002EC  262A 0008                move.l     D3, [A2 + 0x8]
  258. 000002F0  D7AD FEE4                add.l      [A5 - 0x11C], D3
  259. 000002F4  0C92 5445 5854           cmpi.l     [A2], 0x54455854 /* 'TEXT' */
  260. 000002FA  6600 02B2                bne        +0x2B4 /* 000005AE */
  261. 000002FE  362E FFF8                move.w     D3, [A6 - 0x8]
  262. 00000302  C7FC 0014                muls.w     D3, 0x14
  263. 00000306  2443                     movea.l    A2, D3
  264. 00000308  D5ED FDAE                add.l      A2, [A5 - 0x252]
  265. 0000030C  2D6A 0004 FFFA           move.l     [A6 - 0x6], [A2 + 0x4]
  266. 00000312  362E FFF8                move.w     D3, [A6 - 0x8]
  267. 00000316  C7FC 0014                muls.w     D3, 0x14
  268. 0000031A  2443                     movea.l    A2, D3
  269. 0000031C  D5ED FDAE                add.l      A2, [A5 - 0x252]
  270. 00000320  2F2A 0010                move.l     -[A7], [A2 + 0x10]
  271. 00000324  3F3C 0001                move.w     -[A7], 0x1
  272. 00000328  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  273. 0000032C  4EBA 11C2                jsr        [PC + 0x11C2 /* 000014F0 */]
  274. 00000330  504F                     addq.w     A7, 8
  275. 00000332  3D40 FFFE                move.w     [A6 - 0x2], D0
  276. 00000336  6710                     beq        +0x12 /* 00000348 */
  277. 00000338  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  278. 0000033C  4EBA 0BFC                jsr        [PC + 0xBFC /* 00000F3A */]
  279. 00000340  544F                     addq.w     A7, 2
  280. 00000342  7000                     moveq.l    D0, 0x00
  281. 00000344  6000 FE04                bra        -0x1FA /* 0000014A */
  282. label00000348:
  283. 00000348  202E FFFA                move.l     D0, [A6 - 0x6]
  284. 0000034C  A122                     syscall    NewHandle, flags=1
  285. 0000034E  670C                     beq        +0xE /* 0000035C */
  286. 00000350  3F3C 0002                move.w     -[A7], 0x2
  287. 00000354  A9C8                     syscall    SysBeep
  288. 00000356  7000                     moveq.l    D0, 0x00
  289. 00000358  6000 FDF0                bra        -0x20E /* 0000014A */
  290. label0000035C:
  291. 0000035C  2D48 FFF4                move.l     [A6 - 0xC], A0
  292. 00000360  A029                     syscall    HLock
  293. 00000362  246E FFF4                movea.l    A2, [A6 - 0xC]
  294. 00000366  2F12                     move.l     -[A7], [A2]
  295. 00000368  486E FFFA                pea.l      [A6 - 0x6]
  296. 0000036C  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  297. 00000370  4EBA 1122                jsr        [PC + 0x1122 /* 00001494 */]
  298. 00000374  4FEF 000A                lea.l      A7, [A7 + 0xA]
  299. 00000378  3D40 FFFE                move.w     [A6 - 0x2], D0
  300. 0000037C  6710                     beq        +0x12 /* 0000038E */
  301. 0000037E  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  302. 00000382  4EBA 0BB6                jsr        [PC + 0xBB6 /* 00000F3A */]
  303. 00000386  544F                     addq.w     A7, 2
  304. 00000388  7000                     moveq.l    D0, 0x00
  305. 0000038A  6000 FDBE                bra        -0x240 /* 0000014A */
  306. label0000038E:
  307. 0000038E  362E FFF8                move.w     D3, [A6 - 0x8]
  308. 00000392  C7FC 0014                muls.w     D3, 0x14
  309. 00000396  2443                     movea.l    A2, D3
  310. 00000398  D5ED FDAE                add.l      A2, [A5 - 0x252]
  311. 0000039C  162A 000E                move.b     D3, [A2 + 0xE]
  312. 000003A0  4883                     ext.w      D3
  313. 000003A2  3F03                     move.w     -[A7], D3
  314. 000003A4  162A 000D                move.b     D3, [A2 + 0xD]
  315. 000003A8  4883                     ext.w      D3
  316. 000003AA  3F03                     move.w     -[A7], D3
  317. 000003AC  162A 000C                move.b     D3, [A2 + 0xC]
  318. 000003B0  4883                     ext.w      D3
  319. 000003B2  3F03                     move.w     -[A7], D3
  320. 000003B4  A887                     syscall    TextFont
  321. 000003B6  A88A                     syscall    TextSize
  322. 000003B8  A888                     syscall    TextFace
  323. 000003BA  246E FFF4                movea.l    A2, [A6 - 0xC]
  324. 000003BE  2652                     movea.l    A3, [A2]
  325. 000003C0  362E FFF8                move.w     D3, [A6 - 0x8]
  326. 000003C4  48C3                     ext.l      D3
  327. 000003C6  E583                     asl        D3, 2
  328. 000003C8  246D FDB2                movea.l    A2, [A5 - 0x24E]
  329. 000003CC  203C 0000 0002           move.l     D0, 0x2
  330. 000003D2  A122                     syscall    NewHandle, flags=1
  331. 000003D4  670E                     beq        +0x10 /* 000003E4 */
  332. 000003D6  3F00                     move.w     -[A7], D0
  333. 000003D8  4EBA 0B60                jsr        [PC + 0xB60 /* 00000F3A */]
  334. 000003DC  544F                     addq.w     A7, 2
  335. 000003DE  7000                     moveq.l    D0, 0x00
  336. 000003E0  6000 FD68                bra        -0x296 /* 0000014A */
  337. label000003E4:
  338. 000003E4  2588 3800                move.l     [A2 + D3], A0
  339. 000003E8  42AE FFEE                clr.l      [A6 - 0x12]
  340. 000003EC  7C00                     moveq.l    D6, 0x00
  341. 000003EE  426E FFEC                clr.w      [A6 - 0x14]
  342. 000003F2  7A01                     moveq.l    D5, 0x01
  343. 000003F4  2D6E FFFA FFE8           move.l     [A6 - 0x18], [A6 - 0x6]
  344. 000003FA  7800                     moveq.l    D4, 0x00
  345. 000003FC  4EFA 0130                jmp        [PC + 0x130 /* 0000052E */]
  346. label00000400:
  347. 00000400  1633 4800                move.b     D3, [A3 + D4]
  348. 00000404  0243 00FF                andi.w     D3, 0xFF
  349. 00000408  0C43 000D                cmpi.w     D3, 0xD /* '\r' */
  350. 0000040C  6706                     beq        +0x8 /* 00000414 */
  351. 0000040E  0C45 00FF                cmpi.w     D5, 0xFF
  352. 00000412  6648                     bne        +0x4A /* 0000045C */
  353. label00000414:
  354. 00000414  52AE FFEE                addq.l     [A6 - 0x12], 1
  355. 00000418  202E FFEE                move.l     D0, [A6 - 0x12]
  356. 0000041C  362E FFF8                move.w     D3, [A6 - 0x8]
  357. 00000420  48C3                     ext.l      D3
  358. 00000422  E583                     asl        D3, 2
  359. 00000424  246D FDB2                movea.l    A2, [A5 - 0x24E]
  360. 00000428  2072 3800                movea.l    A0, [A2 + D3]
  361. 0000042C  A024                     syscall    SetHandleSize
  362. 0000042E  3D40 FFFE                move.w     [A6 - 0x2], D0
  363. 00000432  6600 0102                bne        +0x104 /* 00000536 */
  364. 00000436  362E FFF8                move.w     D3, [A6 - 0x8]
  365. 0000043A  48C3                     ext.l      D3
  366. 0000043C  E583                     asl        D3, 2
  367. 0000043E  246D FDB2                movea.l    A2, [A5 - 0x24E]
  368. 00000442  2272 3800                movea.l    A1, [A2 + D3]
  369. 00000446  2451                     movea.l    A2, [A1]
  370. 00000448  D5EE FFEE                add.l      A2, [A6 - 0x12]
  371. 0000044C  1545 FFFF                move.b     [A2 - 0x1], D5
  372. 00000450  7C00                     moveq.l    D6, 0x00
  373. 00000452  426E FFEC                clr.w      [A6 - 0x14]
  374. 00000456  7A00                     moveq.l    D5, 0x00
  375. 00000458  4EFA 00D0                jmp        [PC + 0xD0 /* 0000052A */]
  376. label0000045C:
  377. 0000045C  4267                     clr.w      -[A7]
  378. 0000045E  1633 4800                move.b     D3, [A3 + D4]
  379. 00000462  0243 00FF                andi.w     D3, 0xFF
  380. 00000466  3F03                     move.w     -[A7], D3
  381. 00000468  A88D                     syscall    CharWidth
  382. 0000046A  301F                     move.w     D0, [A7]+
  383. 0000046C  DC40                     add.w      D6, D0
  384. 0000046E  1633 4800                move.b     D3, [A3 + D4]
  385. 00000472  0243 00FF                andi.w     D3, 0xFF
  386. 00000476  0C43 0020                cmpi.w     D3, 0x20 /* ' ' */
  387. 0000047A  670E                     beq        +0x10 /* 0000048A */
  388. 0000047C  1633 4800                move.b     D3, [A3 + D4]
  389. 00000480  0243 00FF                andi.w     D3, 0xFF
  390. 00000484  0C43 0009                cmpi.w     D3, 0x9 /* '\t' */
  391. 00000488  6604                     bne        +0x6 /* 0000048E */
  392. label0000048A:
  393. 0000048A  3D45 FFEC                move.w     [A6 - 0x14], D5
  394. label0000048E:
  395. 0000048E  0C46 01E0                cmpi.w     D6, 0x1E0
  396. 00000492  6F00 0096                ble        +0x98 /* 0000052A */
  397. 00000496  4A6E FFEC                tst.w      [A6 - 0x14]
  398. 0000049A  6748                     beq        +0x4A /* 000004E4 */
  399. 0000049C  3605                     move.w     D3, D5
  400. 0000049E  966E FFEC                sub.w      D3, [A6 - 0x14]
  401. 000004A2  48C3                     ext.l      D3
  402. 000004A4  9883                     sub.l      D4, D3
  403. 000004A6  52AE FFEE                addq.l     [A6 - 0x12], 1
  404. 000004AA  202E FFEE                move.l     D0, [A6 - 0x12]
  405. 000004AE  362E FFF8                move.w     D3, [A6 - 0x8]
  406. 000004B2  48C3                     ext.l      D3
  407. 000004B4  E583                     asl        D3, 2
  408. 000004B6  246D FDB2                movea.l    A2, [A5 - 0x24E]
  409. 000004BA  2072 3800                movea.l    A0, [A2 + D3]
  410. 000004BE  A024                     syscall    SetHandleSize
  411. 000004C0  3D40 FFFE                move.w     [A6 - 0x2], D0
  412. 000004C4  6670                     bne        +0x72 /* 00000536 */
  413. 000004C6  362E FFF8                move.w     D3, [A6 - 0x8]
  414. 000004CA  48C3                     ext.l      D3
  415. 000004CC  E583                     asl        D3, 2
  416. 000004CE  246D FDB2                movea.l    A2, [A5 - 0x24E]
  417. 000004D2  2272 3800                movea.l    A1, [A2 + D3]
  418. 000004D6  2451                     movea.l    A2, [A1]
  419. 000004D8  D5EE FFEE                add.l      A2, [A6 - 0x12]
  420. 000004DC  156E FFED FFFF           move.b     [A2 - 0x1], [A6 - 0x13]
  421. 000004E2  603E                     bra        +0x40 /* 00000522 */
  422. label000004E4:
  423. 000004E4  52AE FFEE                addq.l     [A6 - 0x12], 1
  424. 000004E8  206E FFEE                movea.l    A0, [A6 - 0x12]
  425. 000004EC  362E FFF8                move.w     D3, [A6 - 0x8]
  426. 000004F0  48C3                     ext.l      D3
  427. 000004F2  E583                     asl        D3, 2
  428. 000004F4  246D FDB2                movea.l    A2, [A5 - 0x24E]
  429. 000004F8  2072 3800                movea.l    A0, [A2 + D3]
  430. 000004FC  A024                     syscall    SetHandleSize
  431. 000004FE  3D40 FFFE                move.w     [A6 - 0x2], D0
  432. 00000502  6632                     bne        +0x34 /* 00000536 */
  433. 00000504  362E FFF8                move.w     D3, [A6 - 0x8]
  434. 00000508  48C3                     ext.l      D3
  435. 0000050A  E583                     asl        D3, 2
  436. 0000050C  246D FDB2                movea.l    A2, [A5 - 0x24E]
  437. 00000510  2272 3800                movea.l    A1, [A2 + D3]
  438. 00000514  2451                     movea.l    A2, [A1]
  439. 00000516  D5EE FFEE                add.l      A2, [A6 - 0x12]
  440. 0000051A  5345                     subq.w     D5, 1
  441. 0000051C  1545 FFFF                move.b     [A2 - 0x1], D5
  442. 00000520  5384                     subq.l     D4, 1
  443. label00000522:
  444. 00000522  426E FFEC                clr.w      [A6 - 0x14]
  445. 00000526  7A00                     moveq.l    D5, 0x00
  446. 00000528  3C05                     move.w     D6, D5
  447. label0000052A:
  448. 0000052A  5284                     addq.l     D4, 1
  449. 0000052C  5245                     addq.w     D5, 1
  450. label0000052E:
  451. 0000052E  B8AE FFE8                cmp.l      D4, [A6 - 0x18]
  452. 00000532  6D00 FECC                blt        -0x132 /* 00000400 */
  453. label00000536:
  454. 00000536  4A6E FFFE                tst.w      [A6 - 0x2]
  455. 0000053A  670E                     beq        +0x10 /* 0000054A */
  456. 0000053C  3F2E FFFE                move.w     -[A7], [A6 - 0x2]
  457. 00000540  4EBA 09F8                jsr        [PC + 0x9F8 /* 00000F3A */]
  458. 00000544  544F                     addq.w     A7, 2
  459. 00000546  6000 FC02                bra        -0x3FC /* 0000014A */
  460. label0000054A:
  461. 0000054A  4A45                     tst.w      D5
  462. 0000054C  6744                     beq        +0x46 /* 00000592 */
  463. 0000054E  52AE FFEE                addq.l     [A6 - 0x12], 1
  464. 00000552  202E FFEE                move.l     D0, [A6 - 0x12]
  465. 00000556  362E FFF8                move.w     D3, [A6 - 0x8]
  466. 0000055A  48C3                     ext.l      D3
  467. 0000055C  E583                     asl        D3, 2
  468. 0000055E  246D FDB2                movea.l    A2, [A5 - 0x24E]
  469. 00000562  2072 3800                movea.l    A0, [A2 + D3]
  470. 00000566  A024                     syscall    SetHandleSize
  471. 00000568  3D40 FFFE                move.w     [A6 - 0x2], D0
  472. 0000056C  6706                     beq        +0x8 /* 00000574 */
  473. 0000056E  7000                     moveq.l    D0, 0x00
  474. 00000570  6000 FBD8                bra        -0x426 /* 0000014A */
  475. label00000574:
  476. 00000574  362E FFF8                move.w     D3, [A6 - 0x8]
  477. 00000578  48C3                     ext.l      D3
  478. 0000057A  E583                     asl        D3, 2
  479. 0000057C  246D FDB2                movea.l    A2, [A5 - 0x24E]
  480. 00000580  2272 3800                movea.l    A1, [A2 + D3]
  481. 00000584  2451                     movea.l    A2, [A1]
  482. 00000586  D5EE FFEE                add.l      A2, [A6 - 0x12]
  483. 0000058A  3605                     move.w     D3, D5
  484. 0000058C  5343                     subq.w     D3, 1
  485. 0000058E  1543 FFFF                move.b     [A2 - 0x1], D3
  486. label00000592:
  487. 00000592  206E FFF4                movea.l    A0, [A6 - 0xC]
  488. 00000596  A02A                     syscall    HUnlock
  489. 00000598  6042                     bra        +0x44 /* 000005DC */
  490. 0000059A  362E FFF8                move.w     D3, [A6 - 0x8]
  491. 0000059E  C7FC 0014                muls.w     D3, 0x14
  492. 000005A2  2443                     movea.l    A2, D3
  493. 000005A4  D5ED FDAE                add.l      A2, [A5 - 0x252]
  494. 000005A8  256E FFF4 0010           move.l     [A2 + 0x10], [A6 - 0xC]
  495. label000005AE:
  496. 000005AE  0C92 5049 4354           cmpi.l     [A2], 0x50494354 /* 'PICT' */
  497. 000005B4  6620                     bne        +0x22 /* 000005D6 */
  498. 000005B6  42A7                     clr.l      -[A7]
  499. 000005B8  3F2A 0012                move.w     -[A7], [A2 + 0x12]
  500. 000005BC  A9BC                     syscall    GetPicture
  501. 000005BE  4267                     clr.w      -[A7]
  502. 000005C0  A9AF                     syscall    ResError
  503. 000005C2  301F                     move.w     D0, [A7]+
  504. 000005C4  6700 0008                beq        +0xA /* 000005CE */
  505. 000005C8  7000                     moveq.l    D0, 0x00
  506. 000005CA  6000 FB7E                bra        -0x480 /* 0000014A */
  507. label000005CE:
  508. 000005CE  2D5F FFF4                move.l     [A6 - 0xC], [A7]+
  509. 000005D2  4EFA 0008                jmp        [PC + 0x8 /* 000005DC */]
  510. label000005D6:
  511. 000005D6  7000                     moveq.l    D0, 0x00
  512. 000005D8  6000 FB70                bra        -0x48E /* 0000014A */
  513. label000005DC:
  514. 000005DC  362E FFF8                move.w     D3, [A6 - 0x8]
  515. 000005E0  C7FC 0014                muls.w     D3, 0x14
  516. 000005E4  2443                     movea.l    A2, D3
  517. 000005E6  D5ED FDAE                add.l      A2, [A5 - 0x252]
  518. 000005EA  256E FFF4 0010           move.l     [A2 + 0x10], [A6 - 0xC]
  519. 000005F0  526E FFF8                addq.w     [A6 - 0x8], 1
  520. label000005F4:
  521. 000005F4  362E FFF8                move.w     D3, [A6 - 0x8]
  522. 000005F8  B66D FDA8                cmp.w      D3, [A5 - 0x258]
  523. 000005FC  6D00 FCE0                blt        -0x31E /* 000002DE */
  524. 00000600  202D FEE4                move.l     D0, [A5 - 0x11C]
  525. 00000604  5E80                     addq.l     D0, 7
  526. 00000606  7208                     moveq.l    D1, 0x08
  527. 00000608  4EBA 0F18                jsr        [PC + 0xF18 /* 00001522 */]
  528. 0000060C  2B40 FEE4                move.l     [A5 - 0x11C], D0
  529. 00000610  202D FEE4                move.l     D0, [A5 - 0x11C]
  530. 00000614  7208                     moveq.l    D1, 0x08
  531. 00000616  4EBA 0F8A                jsr        [PC + 0xF8A /* 000015A2 */]
  532. 0000061A  2B40 FEE4                move.l     [A5 - 0x11C], D0
  533. 0000061E  362D FEE8                move.w     D3, [A5 - 0x118]
  534. 00000622  48C3                     ext.l      D3
  535. 00000624  87FC 0002                divs.w     D3, 0x2
  536. 00000628  48C3                     ext.l      D3
  537. 0000062A  242D FEE4                move.l     D2, [A5 - 0x11C]
  538. 0000062E  B483                     cmp.l      D2, D3
  539. 00000630  6C04                     bge        +0x6 /* 00000636 */
  540. 00000632  42AD FEE4                clr.l      [A5 - 0x11C]
  541. label00000636:
  542. 00000636  3F2D FEB6                move.w     -[A7], [A5 - 0x14A]
  543. 0000063A  4EBA 0E1A                jsr        [PC + 0xE1A /* 00001456 */]
  544. 0000063E  544F                     addq.w     A7, 2
  545. 00000640  486D FF90                pea.l      [A5 - 0x70]
  546. 00000644  A851                     syscall    SetCursor
  547. 00000646  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  548. 0000064A  2F3C 0000 0910           move.l     -[A7], 0x910
  549. 00000650  A91A                     syscall    SetWTitle
  550. 00000652  70FF                     moveq.l    D0, 0xFFFFFFFF
  551. 00000654  6000 FAF4                bra        -0x50A /* 0000014A */
  552. fn00000658:
  553. 00000658  4E56 FFEE                link       A6, -0x0012
  554. 0000065C  1B7C 00FF FEFA           move.b     [A5 - 0x106], 0xFF
  555. 00000662  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  556. 00000666  A91F                     syscall    SelectWindow
  557. 00000668  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  558. 0000066C  A873                     syscall    SetPort
  559. 0000066E  486D FEC0                pea.l      [A5 - 0x140]
  560. 00000672  246D FEB8                movea.l    A2, [A5 - 0x148]
  561. 00000676  362A 0016                move.w     D3, [A2 + 0x16]
  562. 0000067A  0443 0010                subi.w     D3, 0x10
  563. 0000067E  3F03                     move.w     -[A7], D3
  564. 00000680  246D FEB8                movea.l    A2, [A5 - 0x148]
  565. 00000684  362A 0010                move.w     D3, [A2 + 0x10]
  566. 00000688  5343                     subq.w     D3, 1
  567. 0000068A  3F03                     move.w     -[A7], D3
  568. 0000068C  246D FEB8                movea.l    A2, [A5 - 0x148]
  569. 00000690  3F2A 0016                move.w     -[A7], [A2 + 0x16]
  570. 00000694  246D FEB8                movea.l    A2, [A5 - 0x148]
  571. 00000698  362A 0014                move.w     D3, [A2 + 0x14]
  572. 0000069C  5243                     addq.w     D3, 1
  573. 0000069E  3F03                     move.w     -[A7], D3
  574. 000006A0  A8A7                     syscall    SetRect
  575. 000006A2  42A7                     clr.l      -[A7]
  576. 000006A4  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  577. 000006A8  486D FEC0                pea.l      [A5 - 0x140]
  578. 000006AC  487A 0350                pea.l      [PC + 0x350 /* 000009FE, value 0x4E56 'NV', cstring "" */]
  579. 000006B0  3F3C FFFF                move.w     -[A7], 0xFFFF
  580. 000006B4  4267                     clr.w      -[A7]
  581. 000006B6  4267                     clr.w      -[A7]
  582. 000006B8  202D FEE4                move.l     D0, [A5 - 0x11C]
  583. 000006BC  7208                     moveq.l    D1, 0x08
  584. 000006BE  4EBA 0E62                jsr        [PC + 0xE62 /* 00001522 */]
  585. 000006C2  3F00                     move.w     -[A7], D0
  586. 000006C4  3F3C 0010                move.w     -[A7], 0x10
  587. 000006C8  42A7                     clr.l      -[A7]
  588. 000006CA  A954                     syscall    NewControl
  589. 000006CC  201F                     move.l     D0, [A7]+
  590. 000006CE  2B40 FEBC                move.l     [A5 - 0x144], D0
  591. 000006D2  486D FEC0                pea.l      [A5 - 0x140]
  592. 000006D6  A92A                     syscall    ValidRect
  593. label000006D8:
  594. 000006D8  4267                     clr.w      -[A7]
  595. 000006DA  3F3C FFFF                move.w     -[A7], 0xFFFF
  596. 000006DE  486D FED0                pea.l      [A5 - 0x130]
  597. 000006E2  A970                     syscall    GetNextEvent
  598. 000006E4  101F                     move.b     D0, [A7]+
  599. 000006E6  6700 02F4                beq        +0x2F6 /* 000009DC */
  600. 000006EA  302D FED0                move.w     D0, [A5 - 0x130]
  601. 000006EE  4EFA 02DC                jmp        [PC + 0x2DC /* 000009CC */]
  602. 000006F2  4267                     clr.w      -[A7]
  603. 000006F4  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  604. 000006F8  486E FFF6                pea.l      [A6 - 0xA]
  605. 000006FC  A92C                     syscall    FindWindow
  606. 000006FE  301F                     move.w     D0, [A7]+
  607. 00000700  3D40 FFFE                move.w     [A6 - 0x2], D0
  608. 00000704  302E FFFE                move.w     D0, [A6 - 0x2]
  609. 00000708  4EFA 0178                jmp        [PC + 0x178 /* 00000882 */]
  610. 0000070C  486D FED0                pea.l      [A5 - 0x130]
  611. 00000710  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  612. 00000714  A9B3                     syscall    SystemClick
  613. 00000716  4EFA 017A                jmp        [PC + 0x17A /* 00000892 */]
  614. 0000071A  4EBA 0438                jsr        [PC + 0x438 /* 00000B54 */]
  615. 0000071E  4EFA 0172                jmp        [PC + 0x172 /* 00000892 */]
  616. 00000722  42A7                     clr.l      -[A7]
  617. 00000724  A924                     syscall    FrontWindow
  618. 00000726  201F                     move.l     D0, [A7]+
  619. 00000728  246E FFF6                movea.l    A2, [A6 - 0xA]
  620. 0000072C  B5C0                     cmpa.l     A2, D0
  621. 0000072E  6708                     beq        +0xA /* 00000738 */
  622. 00000730  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  623. 00000734  A91F                     syscall    SelectWindow
  624. 00000736  601A                     bra        +0x1C /* 00000752 */
  625. label00000738:
  626. 00000738  4267                     clr.w      -[A7]
  627. 0000073A  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  628. 0000073E  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  629. 00000742  A91E                     syscall    TrackGoAway
  630. 00000744  101F                     move.b     D0, [A7]+
  631. 00000746  670A                     beq        +0xC /* 00000752 */
  632. 00000748  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  633. 0000074C  4EBA 053A                jsr        [PC + 0x53A /* 00000C88 */]
  634. 00000750  584F                     addq.w     A7, 4
  635. label00000752:
  636. 00000752  4EFA 013E                jmp        [PC + 0x13E /* 00000892 */]
  637. 00000756  42A7                     clr.l      -[A7]
  638. 00000758  A924                     syscall    FrontWindow
  639. 0000075A  201F                     move.l     D0, [A7]+
  640. 0000075C  246E FFF6                movea.l    A2, [A6 - 0xA]
  641. 00000760  B5C0                     cmpa.l     A2, D0
  642. 00000762  670A                     beq        +0xC /* 0000076E */
  643. 00000764  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  644. 00000768  A91F                     syscall    SelectWindow
  645. 0000076A  4EFA 0126                jmp        [PC + 0x126 /* 00000892 */]
  646. label0000076E:
  647. 0000076E  486D FEDA                pea.l      [A5 - 0x126]
  648. 00000772  A871                     syscall    GlobalToLocal
  649. 00000774  4267                     clr.w      -[A7]
  650. 00000776  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  651. 0000077A  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  652. 0000077E  486E FFF2                pea.l      [A6 - 0xE]
  653. 00000782  A96C                     syscall    FindControl
  654. 00000784  301F                     move.w     D0, [A7]+
  655. 00000786  3D40 FFFE                move.w     [A6 - 0x2], D0
  656. 0000078A  246E FFF2                movea.l    A2, [A6 - 0xE]
  657. 0000078E  B5ED FEBC                cmpa.l     A2, [A5 - 0x144]
  658. 00000792  6600 00DA                bne        +0xDC /* 0000086E */
  659. 00000796  302E FFFE                move.w     D0, [A6 - 0x2]
  660. 0000079A  4EFA 00B2                jmp        [PC + 0xB2 /* 0000084E */]
  661. label0000079E:
  662. 0000079E  4267                     clr.w      -[A7]
  663. 000007A0  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  664. 000007A4  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  665. 000007A8  487A 05F0                pea.l      [PC + 0x5F0 /* 00000D9A, value 0x4E560000 'NV\0\0', cstring "NV" */]
  666. 000007AC  A968                     syscall    TrackControl
  667. 000007AE  301F                     move.w     D0, [A7]+
  668. 000007B0  3D40 FFFE                move.w     [A6 - 0x2], D0
  669. 000007B4  4EFA 00B6                jmp        [PC + 0xB6 /* 0000086C */]
  670. label000007B8:
  671. 000007B8  4267                     clr.w      -[A7]
  672. 000007BA  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  673. 000007BE  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  674. 000007C2  487A 0634                pea.l      [PC + 0x634 /* 00000DF8, value 0x4E560000 'NV\0\0', cstring "NV" */]
  675. 000007C6  A968                     syscall    TrackControl
  676. 000007C8  301F                     move.w     D0, [A7]+
  677. 000007CA  3D40 FFFE                move.w     [A6 - 0x2], D0
  678. 000007CE  4EFA 009C                jmp        [PC + 0x9C /* 0000086C */]
  679. label000007D2:
  680. 000007D2  4267                     clr.w      -[A7]
  681. 000007D4  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  682. 000007D8  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  683. 000007DC  487A 067C                pea.l      [PC + 0x67C /* 00000E5A, value 0x4E560000 'NV\0\0', cstring "NV" */]
  684. 000007E0  A968                     syscall    TrackControl
  685. 000007E2  301F                     move.w     D0, [A7]+
  686. 000007E4  3D40 FFFE                move.w     [A6 - 0x2], D0
  687. 000007E8  4EFA 0082                jmp        [PC + 0x82 /* 0000086C */]
  688. label000007EC:
  689. 000007EC  4267                     clr.w      -[A7]
  690. 000007EE  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  691. 000007F2  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  692. 000007F6  487A 06CE                pea.l      [PC + 0x6CE /* 00000EC6, value 0x4E560000 'NV\0\0', cstring "NV" */]
  693. 000007FA  A968                     syscall    TrackControl
  694. 000007FC  301F                     move.w     D0, [A7]+
  695. 000007FE  3D40 FFFE                move.w     [A6 - 0x2], D0
  696. 00000802  6068                     bra        +0x6A /* 0000086C */
  697. label00000804:
  698. 00000804  4267                     clr.w      -[A7]
  699. 00000806  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  700. 0000080A  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  701. 0000080E  42A7                     clr.l      -[A7]
  702. 00000810  A968                     syscall    TrackControl
  703. 00000812  301F                     move.w     D0, [A7]+
  704. 00000814  3D40 FFFE                move.w     [A6 - 0x2], D0
  705. 00000818  4267                     clr.w      -[A7]
  706. 0000081A  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  707. 0000081E  A960                     syscall    GetControlValue/GetCtlValue
  708. 00000820  301F                     move.w     D0, [A7]+
  709. 00000822  48C0                     ext.l      D0
  710. 00000824  2D40 FFFA                move.l     [A6 - 0x6], D0
  711. 00000828  202E FFFA                move.l     D0, [A6 - 0x6]
  712. 0000082C  7208                     moveq.l    D1, 0x08
  713. 0000082E  4EBA 0D72                jsr        [PC + 0xD72 /* 000015A2 */]
  714. 00000832  2D40 FFFA                move.l     [A6 - 0x6], D0
  715. 00000836  262D FEE0                move.l     D3, [A5 - 0x120]
  716. 0000083A  B6AE FFFA                cmp.l      D3, [A6 - 0x6]
  717. 0000083E  670C                     beq        +0xE /* 0000084C */
  718. 00000840  2B6E FFFA FEE0           move.l     [A5 - 0x120], [A6 - 0x6]
  719. 00000846  486D FEC8                pea.l      [A5 - 0x138]
  720. 0000084A  A928                     syscall    InvalRect
  721. label0000084C:
  722. 0000084C  601E                     bra        +0x20 /* 0000086C */
  723. label0000084E:
  724. 0000084E  0440 0014                subi.w     D0, 0x14
  725. 00000852  6700 FF4A                beq        -0xB4 /* 0000079E */
  726. 00000856  5340                     subq.w     D0, 1
  727. 00000858  6700 FF5E                beq        -0xA0 /* 000007B8 */
  728. 0000085C  5340                     subq.w     D0, 1
  729. 0000085E  6700 FF72                beq        -0x8C /* 000007D2 */
  730. 00000862  5340                     subq.w     D0, 1
  731. 00000864  6786                     beq        -0x78 /* 000007EC */
  732. 00000866  0440 006A                subi.w     D0, 0x6A /* 'j' */
  733. 0000086A  6798                     beq        -0x66 /* 00000804 */
  734. label0000086C:
  735. 0000086C  6004                     bra        +0x6 /* 00000872 */
  736. label0000086E:
  737. 0000086E  4EBA 0190                jsr        [PC + 0x190 /* 00000A00 */]
  738. label00000872:
  739. 00000872  601E                     bra        +0x20 /* 00000892 */
  740. 00000874  0002 FE8A                ori.b      D2, 0x8A
  741. 00000878  FE7C FEC6                .extension 0xE7C <<F/1/7>>, 0xFEC6 // unimplemented
  742. 0000087C  0002 0002                ori.b      D2, 0x2
  743. 00000880  FE92 0C40                .extension 0xE92 <<F/2-3/7>> // unimplemented
  744. // begin alternate branch 00000882-00000888
  745. label00000882:
  746. 00000882  0C40 0007                cmpi.w     D0, 0x7
  747. 00000886  640A                     bcc        +0xC /* 00000892 */
  748. // end alternate branch 00000882-00000888
  749. label00000882: // (misaligned)
  750. 00000884  0007 640A                ori.b      D7, 0xA /* '\n' */
  751. 00000888  E340                     asl        D0.w, 1
  752. 0000088A  303B 00E8                move.w     D0, [PC + D0.w - 0x24]
  753. 0000088E  4EFB 0000                jmp        [PC + D0.w]
  754. label00000892:
  755. 00000892  4EFA 0148                jmp        [PC + 0x148 /* 000009DC */]
  756. 00000896  362D FEDE                move.w     D3, [A5 - 0x122]
  757. 0000089A  0243 0100                andi.w     D3, 0x100
  758. 0000089E  6718                     beq        +0x1A /* 000008B8 */
  759. 000008A0  42A7                     clr.l      -[A7]
  760. 000008A2  262D FED2                move.l     D3, [A5 - 0x12E]
  761. 000008A6  4883                     ext.w      D3
  762. 000008A8  3F03                     move.w     -[A7], D3
  763. 000008AA  A93E                     syscall    MenuKey
  764. 000008AC  201F                     move.l     D0, [A7]+
  765. 000008AE  2F00                     move.l     -[A7], D0
  766. 000008B0  4EBA 02C0                jsr        [PC + 0x2C0 /* 00000B72 */]
  767. 000008B4  584F                     addq.w     A7, 4
  768. 000008B6  6006                     bra        +0x8 /* 000008BE */
  769. label000008B8:
  770. 000008B8  3F3C 0002                move.w     -[A7], 0x2
  771. 000008BC  A9C8                     syscall    SysBeep
  772. label000008BE:
  773. 000008BE  4EFA 011C                jmp        [PC + 0x11C /* 000009DC */]
  774. 000008C2  246D FED2                movea.l    A2, [A5 - 0x12E]
  775. 000008C6  B5ED FEB8                cmpa.l     A2, [A5 - 0x148]
  776. 000008CA  6628                     bne        +0x2A /* 000008F4 */
  777. 000008CC  486E FFEE                pea.l      [A6 - 0x12]
  778. 000008D0  A874                     syscall    GetPort
  779. 000008D2  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  780. 000008D6  A873                     syscall    SetPort
  781. 000008D8  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  782. 000008DC  A922                     syscall    BeginUpdate
  783. 000008DE  4EBA 03D0                jsr        [PC + 0x3D0 /* 00000CB0 */]
  784. 000008E2  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  785. 000008E6  A969                     syscall    DrawControls
  786. 000008E8  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  787. 000008EC  A923                     syscall    EndUpdate
  788. 000008EE  2F2E FFEE                move.l     -[A7], [A6 - 0x12]
  789. 000008F2  A873                     syscall    SetPort
  790. label000008F4:
  791. 000008F4  4EFA 00E6                jmp        [PC + 0xE6 /* 000009DC */]
  792. 000008F8  2D6D FED2 FFF6           move.l     [A6 - 0xA], [A5 - 0x12E]
  793. 000008FE  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  794. 00000902  A873                     syscall    SetPort
  795. 00000904  362D FEDE                move.w     D3, [A5 - 0x122]
  796. 00000908  0243 0001                andi.w     D3, 0x1
  797. 0000090C  6756                     beq        +0x58 /* 00000964 */
  798. 0000090E  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  799. 00000912  4267                     clr.w      -[A7]
  800. 00000914  A95D                     syscall    HiliteControl
  801. 00000916  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  802. 0000091A  3F3C 0001                move.w     -[A7], 0x1
  803. 0000091E  A93A                     syscall    DisableItem
  804. 00000920  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  805. 00000924  3F3C 0003                move.w     -[A7], 0x3
  806. 00000928  A93A                     syscall    DisableItem
  807. 0000092A  0C6D 0000 FDAA           cmpi.w     [A5 - 0x256], 0x0
  808. 00000930  6C0C                     bge        +0xE /* 0000093E */
  809. 00000932  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  810. 00000936  3F3C 0004                move.w     -[A7], 0x4
  811. 0000093A  A93A                     syscall    DisableItem
  812. 0000093C  6010                     bra        +0x12 /* 0000094E */
  813. label0000093E:
  814. 0000093E  4A2D FDAC                tst.b      [A5 - 0x254]
  815. 00000942  660A                     bne        +0xC /* 0000094E */
  816. 00000944  4EBA 0150                jsr        [PC + 0x150 /* 00000A96 */]
  817. 00000948  1B7C 00FF FDAC           move.b     [A5 - 0x254], 0xFF
  818. label0000094E:
  819. 0000094E  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  820. 00000952  3F3C 0005                move.w     -[A7], 0x5
  821. 00000956  A93A                     syscall    DisableItem
  822. 00000958  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  823. 0000095C  3F3C 0006                move.w     -[A7], 0x6
  824. 00000960  A93A                     syscall    DisableItem
  825. 00000962  6052                     bra        +0x54 /* 000009B6 */
  826. label00000964:
  827. 00000964  2F2D FEBC                move.l     -[A7], [A5 - 0x144]
  828. 00000968  3F3C 00FF                move.w     -[A7], 0xFF
  829. 0000096C  A95D                     syscall    HiliteControl
  830. 0000096E  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  831. 00000972  3F3C 0001                move.w     -[A7], 0x1
  832. 00000976  A939                     syscall    EnableItem
  833. 00000978  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  834. 0000097C  3F3C 0003                move.w     -[A7], 0x3
  835. 00000980  A939                     syscall    EnableItem
  836. 00000982  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  837. 00000986  3F3C 0004                move.w     -[A7], 0x4
  838. 0000098A  A939                     syscall    EnableItem
  839. 0000098C  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  840. 00000990  3F3C 0005                move.w     -[A7], 0x5
  841. 00000994  A939                     syscall    EnableItem
  842. 00000996  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  843. 0000099A  3F3C 0006                move.w     -[A7], 0x6
  844. 0000099E  A939                     syscall    EnableItem
  845. 000009A0  0C6D 0000 FDAA           cmpi.w     [A5 - 0x256], 0x0
  846. 000009A6  6D0E                     blt        +0x10 /* 000009B6 */
  847. 000009A8  4A2D FDAC                tst.b      [A5 - 0x254]
  848. 000009AC  6708                     beq        +0xA /* 000009B6 */
  849. 000009AE  4EBA 00E6                jsr        [PC + 0xE6 /* 00000A96 */]
  850. 000009B2  422D FDAC                clr.b      [A5 - 0x254]
  851. label000009B6:
  852. 000009B6  A937                     syscall    DrawMenuBar
  853. 000009B8  6022                     bra        +0x24 /* 000009DC */
  854. 000009BA  0002 FD18                ori.b      D2, 0x18
  855. 000009BE  0002 FEBC                ori.b      D2, 0xBC
  856. 000009C2  0002 0002                ori.b      D2, 0x2
  857. 000009C6  FEE8 0002                .extension 0xEE8 <<F/2-3/7>> // unimplemented
  858. 000009CA  FF1E                     .extension 0xF1E <<F/4-5/7>> // unimplemented
  859. label000009CC:
  860. 000009CC  0C40 0009                cmpi.w     D0, 0x9 /* '\t' */
  861. 000009D0  640A                     bcc        +0xC /* 000009DC */
  862. 000009D2  E340                     asl        D0.w, 1
  863. 000009D4  303B 00E4                move.w     D0, [PC + D0.w - 0x28]
  864. 000009D8  4EFB 0000                jmp        [PC + D0.w]
  865. label000009DC:
  866. 000009DC  4A2D FEFA                tst.b      [A5 - 0x106]
  867. 000009E0  6600 FCF6                bne        -0x308 /* 000006D8 */
  868. label000009E4:
  869. 000009E4  42A7                     clr.l      -[A7]
  870. 000009E6  A924                     syscall    FrontWindow
  871. 000009E8  2D5F FFF6                move.l     [A6 - 0xA], [A7]+
  872. 000009EC  670C                     beq        +0xE /* 000009FA */
  873. 000009EE  2F2E FFF6                move.l     -[A7], [A6 - 0xA]
  874. 000009F2  4EBA 0294                jsr        [PC + 0x294 /* 00000C88 */]
  875. 000009F6  584F                     addq.w     A7, 4
  876. 000009F8  60EA                     bra        -0x14 /* 000009E4 */
  877. label000009FA:
  878. 000009FA  4E5E                     unlink     A6
  879. 000009FC  4E75                     rts
  880. 000009FE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  881. // begin alternate branch 00000A00-00000A04
  882. fn00000A00:
  883. 00000A00  4E56 FFF4                link       A6, -0x000C
  884. // end alternate branch 00000A00-00000A04
  885. fn00000A00: // (misaligned)
  886. 00000A02  FFF4                     .invalid   <<F/7/7>>
  887. 00000A04  2F04                     move.l     -[A7], D4
  888. 00000A06  486E FFFC                pea.l      [A6 - 0x4]
  889. 00000A0A  A972                     syscall    GetMouse
  890. 00000A0C  362E FFFC                move.w     D3, [A6 - 0x4]
  891. 00000A10  48C3                     ext.l      D3
  892. 00000A12  D6AD FEE0                add.l      D3, [A5 - 0x120]
  893. 00000A16  2D43 FFF8                move.l     [A6 - 0x8], D3
  894. 00000A1A  7600                     moveq.l    D3, 0x00
  895. 00000A1C  3803                     move.w     D4, D3
  896. 00000A1E  48C3                     ext.l      D3
  897. 00000A20  2D43 FFF4                move.l     [A6 - 0xC], D3
  898. 00000A24  6020                     bra        +0x22 /* 00000A46 */
  899. label00000A26:
  900. 00000A26  3604                     move.w     D3, D4
  901. 00000A28  C7FC 0014                muls.w     D3, 0x14
  902. 00000A2C  2443                     movea.l    A2, D3
  903. 00000A2E  D5ED FDAE                add.l      A2, [A5 - 0x252]
  904. 00000A32  262A 0008                move.l     D3, [A2 + 0x8]
  905. 00000A36  D7AE FFF4                add.l      [A6 - 0xC], D3
  906. 00000A3A  262E FFF4                move.l     D3, [A6 - 0xC]
  907. 00000A3E  B6AE FFF8                cmp.l      D3, [A6 - 0x8]
  908. 00000A42  6E08                     bgt        +0xA /* 00000A4C */
  909. 00000A44  5244                     addq.w     D4, 1
  910. label00000A46:
  911. 00000A46  B86D FDA8                cmp.w      D4, [A5 - 0x258]
  912. 00000A4A  6DDA                     blt        -0x24 /* 00000A26 */
  913. label00000A4C:
  914. 00000A4C  362D FDAA                move.w     D3, [A5 - 0x256]
  915. 00000A50  B644                     cmp.w      D3, D4
  916. 00000A52  673C                     beq        +0x3E /* 00000A90 */
  917. 00000A54  0C6D 0000 FDAA           cmpi.w     [A5 - 0x256], 0x0
  918. 00000A5A  6D02                     blt        +0x4 /* 00000A5E */
  919. 00000A5C  6138                     bsr        +0x3A /* 00000A96 */
  920. label00000A5E:
  921. 00000A5E  B86D FDA8                cmp.w      D4, [A5 - 0x258]
  922. 00000A62  6C18                     bge        +0x1A /* 00000A7C */
  923. 00000A64  3B44 FDAA                move.w     [A5 - 0x256], D4
  924. 00000A68  612C                     bsr        +0x2E /* 00000A96 */
  925. 00000A6A  1B7C 00FF FDAC           move.b     [A5 - 0x254], 0xFF
  926. 00000A70  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  927. 00000A74  3F3C 0004                move.w     -[A7], 0x4
  928. 00000A78  A939                     syscall    EnableItem
  929. 00000A7A  6014                     bra        +0x16 /* 00000A90 */
  930. label00000A7C:
  931. 00000A7C  3B7C FFFF FDAA           move.w     [A5 - 0x256], 0xFFFF
  932. 00000A82  422D FDAC                clr.b      [A5 - 0x254]
  933. 00000A86  2F2D FEF6                move.l     -[A7], [A5 - 0x10A]
  934. 00000A8A  3F3C 0004                move.w     -[A7], 0x4
  935. 00000A8E  A93A                     syscall    DisableItem
  936. label00000A90:
  937. 00000A90  281F                     move.l     D4, [A7]+
  938. 00000A92  4E5E                     unlink     A6
  939. 00000A94  4E75                     rts
  940. fn00000A96:
  941. 00000A96  4E56 FFF8                link       A6, -0x0008
  942. 00000A9A  48E7 0F00                movem.l    -[A7], D4,D5,D6,D7
  943. 00000A9E  246D FEB8                movea.l    A2, [A5 - 0x148]
  944. 00000AA2  3E2A 0014                move.w     D7, [A2 + 0x14]
  945. 00000AA6  7600                     moveq.l    D3, 0x00
  946. 00000AA8  3C03                     move.w     D6, D3
  947. 00000AAA  48C3                     ext.l      D3
  948. 00000AAC  2803                     move.l     D4, D3
  949. 00000AAE  4EFA 0094                jmp        [PC + 0x94 /* 00000B44 */]
  950. label00000AB2:
  951. 00000AB2  BC6D FDAA                cmp.w      D6, [A5 - 0x256]
  952. 00000AB6  6600 007A                bne        +0x7C /* 00000B32 */
  953. 00000ABA  2A04                     move.l     D5, D4
  954. 00000ABC  9AAD FEE0                sub.l      D5, [A5 - 0x120]
  955. 00000AC0  3606                     move.w     D3, D6
  956. 00000AC2  C7FC 0014                muls.w     D3, 0x14
  957. 00000AC6  2443                     movea.l    A2, D3
  958. 00000AC8  D5ED FDAE                add.l      A2, [A5 - 0x252]
  959. 00000ACC  262A 0008                move.l     D3, [A2 + 0x8]
  960. 00000AD0  D685                     add.l      D3, D5
  961. 00000AD2  0C83 0000 0000           cmpi.l     D3, 0x0
  962. 00000AD8  6F56                     ble        +0x58 /* 00000B30 */
  963. 00000ADA  48C7                     ext.l      D7
  964. 00000ADC  BA87                     cmp.l      D5, D7
  965. 00000ADE  6C50                     bge        +0x52 /* 00000B30 */
  966. 00000AE0  45EE FFF8                lea.l      A2, [A6 - 0x8]
  967. 00000AE4  226D FEB8                movea.l    A1, [A5 - 0x148]
  968. 00000AE8  D3FC 0000 0010           add.l      A1, 0x10
  969. 00000AEE  24D9                     move.l     [A2]+, [A1]+
  970. 00000AF0  24D9                     move.l     [A2]+, [A1]+
  971. 00000AF2  046E 0010 FFFE           subi.w     [A6 - 0x2], 0x10
  972. 00000AF8  0C85 0000 0000           cmpi.l     D5, 0x0
  973. 00000AFE  6D06                     blt        +0x8 /* 00000B06 */
  974. 00000B00  3D45 FFF8                move.w     [A6 - 0x8], D5
  975. 00000B04  6004                     bra        +0x6 /* 00000B0A */
  976. label00000B06:
  977. 00000B06  42AE FFF8                clr.l      [A6 - 0x8]
  978. label00000B0A:
  979. 00000B0A  3606                     move.w     D3, D6
  980. 00000B0C  C7FC 0014                muls.w     D3, 0x14
  981. 00000B10  2443                     movea.l    A2, D3
  982. 00000B12  D5ED FDAE                add.l      A2, [A5 - 0x252]
  983. 00000B16  262A 0008                move.l     D3, [A2 + 0x8]
  984. 00000B1A  D685                     add.l      D3, D5
  985. 00000B1C  48C7                     ext.l      D7
  986. 00000B1E  B687                     cmp.l      D3, D7
  987. 00000B20  6E02                     bgt        +0x4 /* 00000B24 */
  988. 00000B22  6002                     bra        +0x4 /* 00000B26 */
  989. label00000B24:
  990. 00000B24  2607                     move.l     D3, D7
  991. label00000B26:
  992. 00000B26  3D43 FFFC                move.w     [A6 - 0x4], D3
  993. 00000B2A  486E FFF8                pea.l      [A6 - 0x8]
  994. 00000B2E  A8A4                     syscall    InvertRect
  995. label00000B30:
  996. 00000B30  601A                     bra        +0x1C /* 00000B4C */
  997. label00000B32:
  998. 00000B32  3606                     move.w     D3, D6
  999. 00000B34  C7FC 0014                muls.w     D3, 0x14
  1000. 00000B38  2443                     movea.l    A2, D3
  1001. 00000B3A  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1002. 00000B3E  D8AA 0008                add.l      D4, [A2 + 0x8]
  1003. 00000B42  5246                     addq.w     D6, 1
  1004. label00000B44:
  1005. 00000B44  BC6D FDA8                cmp.w      D6, [A5 - 0x258]
  1006. 00000B48  6D00 FF68                blt        -0x96 /* 00000AB2 */
  1007. label00000B4C:
  1008. 00000B4C  4CDF 00F0                movem.l    D4,D5,D6,D7, [A7]+
  1009. 00000B50  4E5E                     unlink     A6
  1010. 00000B52  4E75                     rts
  1011. fn00000B54:
  1012. 00000B54  4E56 FFFC                link       A6, -0x0004
  1013. 00000B58  42A7                     clr.l      -[A7]
  1014. 00000B5A  2F2D FEDA                move.l     -[A7], [A5 - 0x126]
  1015. 00000B5E  A93D                     syscall    MenuSelect
  1016. 00000B60  201F                     move.l     D0, [A7]+
  1017. 00000B62  2D40 FFFC                move.l     [A6 - 0x4], D0
  1018. 00000B66  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1019. 00000B6A  6106                     bsr        +0x8 /* 00000B72 */
  1020. 00000B6C  584F                     addq.w     A7, 4
  1021. 00000B6E  4E5E                     unlink     A6
  1022. 00000B70  4E75                     rts
  1023. fn00000B72:
  1024. 00000B72  4E56 FFFC                link       A6, -0x0004
  1025. 00000B76  302E 0008                move.w     D0, [A6 + 0x8]
  1026. 00000B7A  4EFA 00E2                jmp        [PC + 0xE2 /* 00000C5E */]
  1027. label00000B7E:
  1028. 00000B7E  0C6E 0001 000A           cmpi.w     [A6 + 0xA], 0x1
  1029. 00000B84  6606                     bne        +0x8 /* 00000B8C */
  1030. 00000B86  4EBA 00F2                jsr        [PC + 0xF2 /* 00000C7A */]
  1031. 00000B8A  6020                     bra        +0x22 /* 00000BAC */
  1032. label00000B8C:
  1033. 00000B8C  0C6E 0003 000A           cmpi.w     [A6 + 0xA], 0x3
  1034. 00000B92  6D18                     blt        +0x1A /* 00000BAC */
  1035. 00000B94  2F2D FEEE                move.l     -[A7], [A5 - 0x112]
  1036. 00000B98  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1037. 00000B9C  486D FDB6                pea.l      [A5 - 0x24A]
  1038. 00000BA0  A946                     syscall    GetMenuItemText/GetItem
  1039. 00000BA2  4267                     clr.w      -[A7]
  1040. 00000BA4  486D FDB6                pea.l      [A5 - 0x24A]
  1041. 00000BA8  A9B6                     syscall    OpenDeskAcc
  1042. 00000BAA  301F                     move.w     D0, [A7]+
  1043. label00000BAC:
  1044. 00000BAC  4EFA 00C4                jmp        [PC + 0xC4 /* 00000C72 */]
  1045. label00000BB0:
  1046. 00000BB0  302E 000A                move.w     D0, [A6 + 0xA]
  1047. 00000BB4  6010                     bra        +0x12 /* 00000BC6 */
  1048. label00000BB6:
  1049. 00000BB6  4EBA 03BA                jsr        [PC + 0x3BA /* 00000F72 */]
  1050. 00000BBA  426D FDA6                clr.w      [A5 - 0x25A]
  1051. 00000BBE  600E                     bra        +0x10 /* 00000BCE */
  1052. label00000BC0:
  1053. 00000BC0  422D FEFA                clr.b      [A5 - 0x106]
  1054. 00000BC4  6008                     bra        +0xA /* 00000BCE */
  1055. label00000BC6:
  1056. 00000BC6  5340                     subq.w     D0, 1
  1057. 00000BC8  67EC                     beq        -0x12 /* 00000BB6 */
  1058. 00000BCA  5540                     subq.w     D0, 2
  1059. 00000BCC  67F2                     beq        -0xC /* 00000BC0 */
  1060. label00000BCE:
  1061. 00000BCE  4EFA 00A2                jmp        [PC + 0xA2 /* 00000C72 */]
  1062. label00000BD2:
  1063. 00000BD2  42A7                     clr.l      -[A7]
  1064. 00000BD4  A924                     syscall    FrontWindow
  1065. 00000BD6  201F                     move.l     D0, [A7]+
  1066. 00000BD8  B0AD FEB8                cmp.l      D0, [A5 - 0x148]
  1067. 00000BDC  6600 0068                bne        +0x6A /* 00000C46 */
  1068. 00000BE0  0C6D 0000 FDAA           cmpi.w     [A5 - 0x256], 0x0
  1069. 00000BE6  6D00 005E                blt        +0x60 /* 00000C46 */
  1070. 00000BEA  0C6E 0004 000A           cmpi.w     [A6 + 0xA], 0x4
  1071. 00000BF0  6600 0054                bne        +0x56 /* 00000C46 */
  1072. 00000BF4  42A7                     clr.l      -[A7]
  1073. 00000BF6  A9FC                     syscall    ZeroScrap
  1074. 00000BF8  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  1075. 00000BFC  362D FDAA                move.w     D3, [A5 - 0x256]
  1076. 00000C00  C7FC 0014                muls.w     D3, 0x14
  1077. 00000C04  2443                     movea.l    A2, D3
  1078. 00000C06  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1079. 00000C0A  206A 0010                movea.l    A0, [A2 + 0x10]
  1080. 00000C0E  2F0A                     move.l     -[A7], A2
  1081. 00000C10  A029                     syscall    HLock
  1082. 00000C12  2457                     movea.l    A2, [A7]
  1083. 00000C14  2F2A 0004                move.l     -[A7], [A2 + 0x4]
  1084. 00000C18  2F2A 0000                move.l     -[A7], [A2 + 0x0]
  1085. 00000C1C  226A 0010                movea.l    A1, [A2 + 0x10]
  1086. 00000C20  2F11                     move.l     -[A7], [A1]
  1087. 00000C22  A9FE                     syscall    PutScrap
  1088. 00000C24  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  1089. 00000C28  6706                     beq        +0x8 /* 00000C30 */
  1090. 00000C2A  3F3C 0002                move.w     -[A7], 0x2
  1091. 00000C2E  A9C8                     syscall    SysBeep
  1092. label00000C30:
  1093. 00000C30  362D FDAA                move.w     D3, [A5 - 0x256]
  1094. 00000C34  C7FC 0014                muls.w     D3, 0x14
  1095. 00000C38  2443                     movea.l    A2, D3
  1096. 00000C3A  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1097. 00000C3E  206A 0010                movea.l    A0, [A2 + 0x10]
  1098. 00000C42  A02A                     syscall    HUnlock
  1099. 00000C44  6016                     bra        +0x18 /* 00000C5C */
  1100. label00000C46:
  1101. 00000C46  4267                     clr.w      -[A7]
  1102. 00000C48  362E 000A                move.w     D3, [A6 + 0xA]
  1103. 00000C4C  5343                     subq.w     D3, 1
  1104. 00000C4E  3F03                     move.w     -[A7], D3
  1105. 00000C50  A9C2                     syscall    SysEdit
  1106. 00000C52  101F                     move.b     D0, [A7]+
  1107. 00000C54  6606                     bne        +0x8 /* 00000C5C */
  1108. 00000C56  3F3C 0002                move.w     -[A7], 0x2
  1109. 00000C5A  A9C8                     syscall    SysBeep
  1110. label00000C5C:
  1111. 00000C5C  6014                     bra        +0x16 /* 00000C72 */
  1112. label00000C5E:
  1113. 00000C5E  0440 001E                subi.w     D0, 0x1E
  1114. 00000C62  6700 FF1A                beq        -0xE4 /* 00000B7E */
  1115. 00000C66  5340                     subq.w     D0, 1
  1116. 00000C68  6700 FF46                beq        -0xB8 /* 00000BB0 */
  1117. 00000C6C  5340                     subq.w     D0, 1
  1118. 00000C6E  6700 FF62                beq        -0x9C /* 00000BD2 */
  1119. label00000C72:
  1120. 00000C72  4267                     clr.w      -[A7]
  1121. 00000C74  A938                     syscall    HiliteMenu
  1122. 00000C76  4E5E                     unlink     A6
  1123. 00000C78  4E75                     rts
  1124. fn00000C7A:
  1125. 00000C7A  4267                     clr.w      -[A7]
  1126. 00000C7C  3F3C 0840                move.w     -[A7], 0x840
  1127. 00000C80  42A7                     clr.l      -[A7]
  1128. 00000C82  A985                     syscall    Alert
  1129. 00000C84  301F                     move.w     D0, [A7]+
  1130. 00000C86  4E75                     rts
  1131. fn00000C88:
  1132. 00000C88  4E56 0000                link       A6, 0
  1133. 00000C8C  246E 0008                movea.l    A2, [A6 + 0x8]
  1134. 00000C90  B5ED FEB8                cmpa.l     A2, [A5 - 0x148]
  1135. 00000C94  660C                     bne        +0xE /* 00000CA2 */
  1136. 00000C96  2F2D FEB8                move.l     -[A7], [A5 - 0x148]
  1137. 00000C9A  A916                     syscall    HideWindow
  1138. 00000C9C  422D FEFA                clr.b      [A5 - 0x106]
  1139. 00000CA0  600A                     bra        +0xC /* 00000CAC */
  1140. label00000CA2:
  1141. 00000CA2  246E 0008                movea.l    A2, [A6 + 0x8]
  1142. 00000CA6  3F2A 006C                move.w     -[A7], [A2 + 0x6C]
  1143. 00000CAA  A9B7                     syscall    CloseDeskAcc
  1144. label00000CAC:
  1145. 00000CAC  4E5E                     unlink     A6
  1146. 00000CAE  4E75                     rts
  1147. fn00000CB0:
  1148. 00000CB0  4E56 FFFC                link       A6, -0x0004
  1149. 00000CB4  48E7 0700                movem.l    -[A7], D5,D6,D7
  1150. 00000CB8  246D FEB8                movea.l    A2, [A5 - 0x148]
  1151. 00000CBC  486A 0010                pea.l      [A2 + 0x10]
  1152. 00000CC0  A8A3                     syscall    EraseRect
  1153. 00000CC2  7600                     moveq.l    D3, 0x00
  1154. 00000CC4  3E03                     move.w     D7, D3
  1155. 00000CC6  48C3                     ext.l      D3
  1156. 00000CC8  2A03                     move.l     D5, D3
  1157. 00000CCA  4EFA 0052                jmp        [PC + 0x52 /* 00000D1E */]
  1158. label00000CCE:
  1159. 00000CCE  3607                     move.w     D3, D7
  1160. 00000CD0  C7FC 0014                muls.w     D3, 0x14
  1161. 00000CD4  2443                     movea.l    A2, D3
  1162. 00000CD6  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1163. 00000CDA  262A 0008                move.l     D3, [A2 + 0x8]
  1164. 00000CDE  DA83                     add.l      D5, D3
  1165. 00000CE0  4A83                     tst.l      D3
  1166. 00000CE2  6712                     beq        +0x14 /* 00000CF6 */
  1167. 00000CE4  262D FEE0                move.l     D3, [A5 - 0x120]
  1168. 00000CE8  0483 0000 0010           subi.l     D3, 0x10
  1169. 00000CEE  2405                     move.l     D2, D5
  1170. 00000CF0  B483                     cmp.l      D2, D3
  1171. 00000CF2  6F28                     ble        +0x2A /* 00000D1C */
  1172. 00000CF4  6016                     bra        +0x18 /* 00000D0C */
  1173. label00000CF6:
  1174. 00000CF6  362A 000E                move.w     D3, [A2 + 0xE]
  1175. 00000CFA  48C3                     ext.l      D3
  1176. 00000CFC  D685                     add.l      D3, D5
  1177. 00000CFE  242D FEE0                move.l     D2, [A5 - 0x120]
  1178. 00000D02  0482 0000 0010           subi.l     D2, 0x10
  1179. 00000D08  B682                     cmp.l      D3, D2
  1180. 00000D0A  6F10                     ble        +0x12 /* 00000D1C */
  1181. label00000D0C:
  1182. 00000D0C  262A 0008                move.l     D3, [A2 + 0x8]
  1183. 00000D10  9A83                     sub.l      D5, D3
  1184. 00000D12  2605                     move.l     D3, D5
  1185. 00000D14  96AD FEE0                sub.l      D3, [A5 - 0x120]
  1186. 00000D18  2C03                     move.l     D6, D3
  1187. 00000D1A  6008                     bra        +0xA /* 00000D24 */
  1188. label00000D1C:
  1189. 00000D1C  5247                     addq.w     D7, 1
  1190. label00000D1E:
  1191. 00000D1E  BE6D FDA8                cmp.w      D7, [A5 - 0x258]
  1192. 00000D22  6DAA                     blt        -0x54 /* 00000CCE */
  1193. label00000D24:
  1194. 00000D24  4EFA 005A                jmp        [PC + 0x5A /* 00000D80 */]
  1195. label00000D28:
  1196. 00000D28  3607                     move.w     D3, D7
  1197. 00000D2A  C7FC 0014                muls.w     D3, 0x14
  1198. 00000D2E  2443                     movea.l    A2, D3
  1199. 00000D30  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1200. 00000D34  2F0A                     move.l     -[A7], A2
  1201. 00000D36  0C92 5445 5854           cmpi.l     [A2], 0x54455854 /* 'TEXT' */
  1202. 00000D3C  661A                     bne        +0x1C /* 00000D58 */
  1203. 00000D3E  3F3C FFFF                move.w     -[A7], 0xFFFF
  1204. 00000D42  486E FFFC                pea.l      [A6 - 0x4]
  1205. 00000D46  3F2D FEE8                move.w     -[A7], [A5 - 0x118]
  1206. 00000D4A  2F06                     move.l     -[A7], D6
  1207. 00000D4C  3F07                     move.w     -[A7], D7
  1208. 00000D4E  4EBA 0546                jsr        [PC + 0x546 /* 00001296 */]
  1209. 00000D52  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1210. 00000D56  6012                     bra        +0x14 /* 00000D6A */
  1211. label00000D58:
  1212. 00000D58  0C92 5049 4354           cmpi.l     [A2], 0x50494354 /* 'PICT' */
  1213. 00000D5E  660A                     bne        +0xC /* 00000D6A */
  1214. 00000D60  2F06                     move.l     -[A7], D6
  1215. 00000D62  3F07                     move.w     -[A7], D7
  1216. 00000D64  4EBA 068C                jsr        [PC + 0x68C /* 000013F2 */]
  1217. 00000D68  5C4F                     addq.w     A7, 6
  1218. label00000D6A:
  1219. 00000D6A  245F                     movea.l    A2, [A7]+
  1220. 00000D6C  262A 0008                move.l     D3, [A2 + 0x8]
  1221. 00000D70  DC83                     add.l      D6, D3
  1222. 00000D72  362D FEE8                move.w     D3, [A5 - 0x118]
  1223. 00000D76  48C3                     ext.l      D3
  1224. 00000D78  2406                     move.l     D2, D6
  1225. 00000D7A  B483                     cmp.l      D2, D3
  1226. 00000D7C  6E0A                     bgt        +0xC /* 00000D88 */
  1227. 00000D7E  5247                     addq.w     D7, 1
  1228. label00000D80:
  1229. 00000D80  3607                     move.w     D3, D7
  1230. 00000D82  B66D FDA8                cmp.w      D3, [A5 - 0x258]
  1231. 00000D86  6DA0                     blt        -0x5E /* 00000D28 */
  1232. label00000D88:
  1233. 00000D88  4A2D FDAC                tst.b      [A5 - 0x254]
  1234. 00000D8C  6704                     beq        +0x6 /* 00000D92 */
  1235. 00000D8E  4EBA FD06                jsr        [PC - 0x2FA /* 00000A96 */]
  1236. label00000D92:
  1237. 00000D92  4CDF 00E0                movem.l    D5,D6,D7, [A7]+
  1238. 00000D96  4E5E                     unlink     A6
  1239. 00000D98  4E75                     rts
  1240. 00000D9A  4E56 0000                link       A6, 0
  1241. 00000D9E  48E7 1020                movem.l    -[A7], D3,A2
  1242. 00000DA2  0C6E 0014 0008           cmpi.w     [A6 + 0x8], 0x14
  1243. 00000DA8  6606                     bne        +0x8 /* 00000DB0 */
  1244. 00000DAA  4AAD FEE0                tst.l      [A5 - 0x120]
  1245. 00000DAE  660C                     bne        +0xE /* 00000DBC */
  1246. label00000DB0:
  1247. 00000DB0  4CDF 0408                movem.l    D3,A2, [A7]+
  1248. 00000DB4  4E5E                     unlink     A6
  1249. 00000DB6  205F                     movea.l    A0, [A7]+
  1250. 00000DB8  5C4F                     addq.w     A7, 6
  1251. 00000DBA  4ED0                     jmp        [A0]
  1252. label00000DBC:
  1253. 00000DBC  51AD FEE0                subq.l     [A5 - 0x120], 8
  1254. 00000DC0  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1255. 00000DC4  202D FEE0                move.l     D0, [A5 - 0x120]
  1256. 00000DC8  7208                     moveq.l    D1, 0x08
  1257. 00000DCA  4EBA 0756                jsr        [PC + 0x756 /* 00001522 */]
  1258. 00000DCE  3F00                     move.w     -[A7], D0
  1259. 00000DD0  A963                     syscall    SetControlValue/SetCtlValue
  1260. 00000DD2  486D FEC8                pea.l      [A5 - 0x138]
  1261. 00000DD6  4267                     clr.w      -[A7]
  1262. 00000DD8  3F3C 0008                move.w     -[A7], 0x8
  1263. 00000DDC  2F2D FEEA                move.l     -[A7], [A5 - 0x116]
  1264. 00000DE0  A8EF                     syscall    ScrollRect
  1265. 00000DE2  2F2D FEEA                move.l     -[A7], [A5 - 0x116]
  1266. 00000DE6  A879                     syscall    SetClip
  1267. 00000DE8  4EBA FEC6                jsr        [PC - 0x13A /* 00000CB0 */]
  1268. 00000DEC  246D FEB8                movea.l    A2, [A5 - 0x148]
  1269. 00000DF0  486A 0010                pea.l      [A2 + 0x10]
  1270. 00000DF4  A87B                     syscall    ClipRect
  1271. 00000DF6  60B8                     bra        -0x46 /* 00000DB0 */
  1272. 00000DF8  4E56 0000                link       A6, 0
  1273. 00000DFC  48E7 1020                movem.l    -[A7], D3,A2
  1274. 00000E00  0C6E 0015 0008           cmpi.w     [A6 + 0x8], 0x15
  1275. 00000E06  660A                     bne        +0xC /* 00000E12 */
  1276. 00000E08  262D FEE0                move.l     D3, [A5 - 0x120]
  1277. 00000E0C  B6AD FEE4                cmp.l      D3, [A5 - 0x11C]
  1278. 00000E10  660C                     bne        +0xE /* 00000E1E */
  1279. label00000E12:
  1280. 00000E12  4CDF 0408                movem.l    D3,A2, [A7]+
  1281. 00000E16  4E5E                     unlink     A6
  1282. 00000E18  205F                     movea.l    A0, [A7]+
  1283. 00000E1A  5C4F                     addq.w     A7, 6
  1284. 00000E1C  4ED0                     jmp        [A0]
  1285. label00000E1E:
  1286. 00000E1E  50AD FEE0                addq.l     [A5 - 0x120], 8
  1287. 00000E22  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1288. 00000E26  202D FEE0                move.l     D0, [A5 - 0x120]
  1289. 00000E2A  7208                     moveq.l    D1, 0x08
  1290. 00000E2C  4EBA 06F4                jsr        [PC + 0x6F4 /* 00001522 */]
  1291. 00000E30  3F00                     move.w     -[A7], D0
  1292. 00000E32  A963                     syscall    SetControlValue/SetCtlValue
  1293. 00000E34  486D FEC8                pea.l      [A5 - 0x138]
  1294. 00000E38  4267                     clr.w      -[A7]
  1295. 00000E3A  3F3C FFF8                move.w     -[A7], 0xFFF8
  1296. 00000E3E  2F2D FEEA                move.l     -[A7], [A5 - 0x116]
  1297. 00000E42  A8EF                     syscall    ScrollRect
  1298. 00000E44  2F2D FEEA                move.l     -[A7], [A5 - 0x116]
  1299. 00000E48  A879                     syscall    SetClip
  1300. 00000E4A  4EBA FE64                jsr        [PC - 0x19C /* 00000CB0 */]
  1301. 00000E4E  246D FEB8                movea.l    A2, [A5 - 0x148]
  1302. 00000E52  486A 0010                pea.l      [A2 + 0x10]
  1303. 00000E56  A87B                     syscall    ClipRect
  1304. 00000E58  60B8                     bra        -0x46 /* 00000E12 */
  1305. 00000E5A  4E56 0000                link       A6, 0
  1306. 00000E5E  48E7 1020                movem.l    -[A7], D3,A2
  1307. 00000E62  0C6E 0016 0008           cmpi.w     [A6 + 0x8], 0x16
  1308. 00000E68  670C                     beq        +0xE /* 00000E76 */
  1309. label00000E6A:
  1310. 00000E6A  4CDF 0408                movem.l    D3,A2, [A7]+
  1311. 00000E6E  4E5E                     unlink     A6
  1312. 00000E70  205F                     movea.l    A0, [A7]+
  1313. 00000E72  5C4F                     addq.w     A7, 6
  1314. 00000E74  4ED0                     jmp        [A0]
  1315. label00000E76:
  1316. 00000E76  362D FEE8                move.w     D3, [A5 - 0x118]
  1317. 00000E7A  48C3                     ext.l      D3
  1318. 00000E7C  242D FEE0                move.l     D2, [A5 - 0x120]
  1319. 00000E80  B483                     cmp.l      D2, D3
  1320. 00000E82  6F0C                     ble        +0xE /* 00000E90 */
  1321. 00000E84  362D FEE8                move.w     D3, [A5 - 0x118]
  1322. 00000E88  48C3                     ext.l      D3
  1323. 00000E8A  97AD FEE0                sub.l      [A5 - 0x120], D3
  1324. 00000E8E  600E                     bra        +0x10 /* 00000E9E */
  1325. label00000E90:
  1326. 00000E90  4AAD FEE0                tst.l      [A5 - 0x120]
  1327. 00000E94  6706                     beq        +0x8 /* 00000E9C */
  1328. 00000E96  42AD FEE0                clr.l      [A5 - 0x120]
  1329. 00000E9A  6002                     bra        +0x4 /* 00000E9E */
  1330. label00000E9C:
  1331. 00000E9C  60CC                     bra        -0x32 /* 00000E6A */
  1332. label00000E9E:
  1333. 00000E9E  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1334. 00000EA2  202D FEE0                move.l     D0, [A5 - 0x120]
  1335. 00000EA6  7208                     moveq.l    D1, 0x08
  1336. 00000EA8  4EBA 0678                jsr        [PC + 0x678 /* 00001522 */]
  1337. 00000EAC  3F00                     move.w     -[A7], D0
  1338. 00000EAE  A963                     syscall    SetControlValue/SetCtlValue
  1339. 00000EB0  486D FEC8                pea.l      [A5 - 0x138]
  1340. 00000EB4  A87B                     syscall    ClipRect
  1341. 00000EB6  4EBA FDF8                jsr        [PC - 0x208 /* 00000CB0 */]
  1342. 00000EBA  246D FEB8                movea.l    A2, [A5 - 0x148]
  1343. 00000EBE  486A 0010                pea.l      [A2 + 0x10]
  1344. 00000EC2  A87B                     syscall    ClipRect
  1345. 00000EC4  60A4                     bra        -0x5A /* 00000E6A */
  1346. 00000EC6  4E56 0000                link       A6, 0
  1347. 00000ECA  48E7 1020                movem.l    -[A7], D3,A2
  1348. 00000ECE  0C6E 0017 0008           cmpi.w     [A6 + 0x8], 0x17
  1349. 00000ED4  670C                     beq        +0xE /* 00000EE2 */
  1350. label00000ED6:
  1351. 00000ED6  4CDF 0408                movem.l    D3,A2, [A7]+
  1352. 00000EDA  4E5E                     unlink     A6
  1353. 00000EDC  205F                     movea.l    A0, [A7]+
  1354. 00000EDE  5C4F                     addq.w     A7, 6
  1355. 00000EE0  4ED0                     jmp        [A0]
  1356. label00000EE2:
  1357. 00000EE2  362D FEE8                move.w     D3, [A5 - 0x118]
  1358. 00000EE6  48C3                     ext.l      D3
  1359. 00000EE8  D7AD FEE0                add.l      [A5 - 0x120], D3
  1360. 00000EEC  262D FEE0                move.l     D3, [A5 - 0x120]
  1361. 00000EF0  B6AD FEE4                cmp.l      D3, [A5 - 0x11C]
  1362. 00000EF4  6F1C                     ble        +0x1E /* 00000F12 */
  1363. 00000EF6  362D FEE8                move.w     D3, [A5 - 0x118]
  1364. 00000EFA  48C3                     ext.l      D3
  1365. 00000EFC  97AD FEE0                sub.l      [A5 - 0x120], D3
  1366. 00000F00  262D FEE0                move.l     D3, [A5 - 0x120]
  1367. 00000F04  B6AD FEE4                cmp.l      D3, [A5 - 0x11C]
  1368. 00000F08  6602                     bne        +0x4 /* 00000F0C */
  1369. 00000F0A  60CA                     bra        -0x34 /* 00000ED6 */
  1370. label00000F0C:
  1371. 00000F0C  2B6D FEE4 FEE0           move.l     [A5 - 0x120], [A5 - 0x11C]
  1372. label00000F12:
  1373. 00000F12  2F2E 000A                move.l     -[A7], [A6 + 0xA]
  1374. 00000F16  202D FEE0                move.l     D0, [A5 - 0x120]
  1375. 00000F1A  7208                     moveq.l    D1, 0x08
  1376. 00000F1C  4EBA 0604                jsr        [PC + 0x604 /* 00001522 */]
  1377. 00000F20  3F00                     move.w     -[A7], D0
  1378. 00000F22  A963                     syscall    SetControlValue/SetCtlValue
  1379. 00000F24  486D FEC8                pea.l      [A5 - 0x138]
  1380. 00000F28  A87B                     syscall    ClipRect
  1381. 00000F2A  4EBA FD84                jsr        [PC - 0x27C /* 00000CB0 */]
  1382. 00000F2E  246D FEB8                movea.l    A2, [A5 - 0x148]
  1383. 00000F32  486A 0010                pea.l      [A2 + 0x10]
  1384. 00000F36  A87B                     syscall    ClipRect
  1385. 00000F38  609C                     bra        -0x62 /* 00000ED6 */
  1386. fn00000F3A:
  1387. 00000F3A  4E56 0000                link       A6, 0
  1388. 00000F3E  362E 0008                move.w     D3, [A6 + 0x8]
  1389. 00000F42  48C3                     ext.l      D3
  1390. 00000F44  2F03                     move.l     -[A7], D3
  1391. 00000F46  486D FDB6                pea.l      [A5 - 0x24A]
  1392. 00000F4A  4EBA 05C4                jsr        [PC + 0x5C4 /* 00001510 */]
  1393. 00000F4E  486D FDB6                pea.l      [A5 - 0x24A]
  1394. 00000F52  487A 001C                pea.l      [PC + 0x1C /* 00000F70, value 0x4E56 'NV', cstring "" */]
  1395. 00000F56  487A 0018                pea.l      [PC + 0x18 /* 00000F70, value 0x4E56 'NV', cstring "" */]
  1396. 00000F5A  487A 0014                pea.l      [PC + 0x14 /* 00000F70, value 0x4E56 'NV', cstring "" */]
  1397. 00000F5E  A98B                     syscall    ParamText
  1398. 00000F60  4267                     clr.w      -[A7]
  1399. 00000F62  3F3C 03E9                move.w     -[A7], 0x3E9
  1400. 00000F66  42A7                     clr.l      -[A7]
  1401. 00000F68  A985                     syscall    Alert
  1402. 00000F6A  301F                     move.w     D0, [A7]+
  1403. 00000F6C  4E5E                     unlink     A6
  1404. 00000F6E  4E75                     rts
  1405. 00000F70  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1406. // begin alternate branch 00000F72-00000F76
  1407. fn00000F72:
  1408. 00000F72  4E56 FFC6                link       A6, -0x003A
  1409. // end alternate branch 00000F72-00000F76
  1410. fn00000F72: // (misaligned)
  1411. 00000F74  FFC6                     .invalid   <<F/7/7>>
  1412. 00000F76  42A7                     clr.l      -[A7]
  1413. 00000F78  2F3C 4449 544C           move.l     -[A7], 0x4449544C /* 'DITL' */
  1414. 00000F7E  3F3C 0840                move.w     -[A7], 0x840
  1415. 00000F82  A9A0                     syscall    GetResource
  1416. 00000F84  205F                     movea.l    A0, [A7]+
  1417. 00000F86  2050                     movea.l    A0, [A0]
  1418. 00000F88  3028 0020                move.w     D0, [A0 + 0x20]
  1419. 00000F8C  0C40 0840                cmpi.w     D0, 0x840
  1420. 00000F90  6600 002E                bne        +0x30 /* 00000FC0 */
  1421. 00000F94  42A7                     clr.l      -[A7]
  1422. 00000F96  2F3C 5049 4354           move.l     -[A7], 0x50494354 /* 'PICT' */
  1423. 00000F9C  3F3C 0840                move.w     -[A7], 0x840
  1424. 00000FA0  A9A0                     syscall    GetResource
  1425. 00000FA2  205F                     movea.l    A0, [A7]+
  1426. 00000FA4  2008                     move.l     D0, A0
  1427. 00000FA6  6718                     beq        +0x1A /* 00000FC0 */
  1428. 00000FA8  A025                     syscall    GetHandleSize
  1429. 00000FAA  0C80 0000 0145           cmpi.l     D0, 0x145
  1430. 00000FB0  660E                     bne        +0x10 /* 00000FC0 */
  1431. 00000FB2  4EBA 0762                jsr        [PC + 0x762 /* 00001716 */]
  1432. 00000FB6  4267                     clr.w      -[A7]
  1433. 00000FB8  4EBA 0740                jsr        [PC + 0x740 /* 000016FA */]
  1434. 00000FBC  301F                     move.w     D0, [A7]+
  1435. 00000FBE  670A                     beq        +0xC /* 00000FCA */
  1436. label00000FC0:
  1437. 00000FC0  3F3C 0002                move.w     -[A7], 0x2
  1438. 00000FC4  A9C8                     syscall    SysBeep
  1439. label00000FC6:
  1440. 00000FC6  4E5E                     unlink     A6
  1441. 00000FC8  4E75                     rts
  1442. label00000FCA:
  1443. 00000FCA  203C 0000 0078           move.l     D0, 0x78 /* 'x' */
  1444. 00000FD0  A122                     syscall    NewHandle, flags=1
  1445. 00000FD2  66EC                     bne        -0x12 /* 00000FC0 */
  1446. 00000FD4  2B48 FEFC                move.l     [A5 - 0x104], A0
  1447. 00000FD8  2F08                     move.l     -[A7], A0
  1448. 00000FDA  4EBA 0622                jsr        [PC + 0x622 /* 000015FE */]
  1449. 00000FDE  4267                     clr.w      -[A7]
  1450. 00000FE0  2F2D FEFC                move.l     -[A7], [A5 - 0x104]
  1451. 00000FE4  4EBA 0626                jsr        [PC + 0x626 /* 0000160C */]
  1452. 00000FE8  101F                     move.b     D0, [A7]+
  1453. 00000FEA  67DA                     beq        -0x24 /* 00000FC6 */
  1454. 00000FEC  4267                     clr.w      -[A7]
  1455. 00000FEE  2F2D FEFC                move.l     -[A7], [A5 - 0x104]
  1456. 00000FF2  4EBA 0626                jsr        [PC + 0x626 /* 0000161A */]
  1457. 00000FF6  101F                     move.b     D0, [A7]+
  1458. 00000FF8  67CC                     beq        -0x32 /* 00000FC6 */
  1459. 00000FFA  4267                     clr.w      -[A7]
  1460. 00000FFC  4EBA 06FC                jsr        [PC + 0x6FC /* 000016FA */]
  1461. 00001000  301F                     move.w     D0, [A7]+
  1462. 00001002  6708                     beq        +0xA /* 0000100C */
  1463. 00001004  3F3C 0002                move.w     -[A7], 0x2
  1464. 00001008  A9C8                     syscall    SysBeep
  1465. 0000100A  60BA                     bra        -0x44 /* 00000FC6 */
  1466. label0000100C:
  1467. 0000100C  42A7                     clr.l      -[A7]
  1468. 0000100E  3F3C 0004                move.w     -[A7], 0x4
  1469. 00001012  A9B9                     syscall    GetCursor
  1470. 00001014  201F                     move.l     D0, [A7]+
  1471. 00001016  2440                     movea.l    A2, D0
  1472. 00001018  2F12                     move.l     -[A7], [A2]
  1473. 0000101A  A851                     syscall    SetCursor
  1474. 0000101C  42A7                     clr.l      -[A7]
  1475. 0000101E  2F2D FEFC                move.l     -[A7], [A5 - 0x104]
  1476. 00001022  42A7                     clr.l      -[A7]
  1477. 00001024  42A7                     clr.l      -[A7]
  1478. 00001026  4EBA 059E                jsr        [PC + 0x59E /* 000015C6 */]
  1479. 0000102A  2D5F FFFC                move.l     [A6 - 0x4], [A7]+
  1480. 0000102E  4267                     clr.w      -[A7]
  1481. 00001030  4EBA 06C8                jsr        [PC + 0x6C8 /* 000016FA */]
  1482. 00001034  301F                     move.w     D0, [A7]+
  1483. 00001036  6708                     beq        +0xA /* 00001040 */
  1484. 00001038  3F3C 0002                move.w     -[A7], 0x2
  1485. 0000103C  A9C8                     syscall    SysBeep
  1486. 0000103E  6086                     bra        -0x78 /* 00000FC6 */
  1487. label00001040:
  1488. 00001040  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1489. 00001044  42A7                     clr.l      -[A7]
  1490. 00001046  4EBA 059A                jsr        [PC + 0x59A /* 000015E2 */]
  1491. 0000104A  4267                     clr.w      -[A7]
  1492. 0000104C  4EBA 06AC                jsr        [PC + 0x6AC /* 000016FA */]
  1493. 00001050  301F                     move.w     D0, [A7]+
  1494. 00001052  670A                     beq        +0xC /* 0000105E */
  1495. 00001054  3F3C 0002                move.w     -[A7], 0x2
  1496. 00001058  A9C8                     syscall    SysBeep
  1497. 0000105A  6000 FF6A                bra        -0x94 /* 00000FC6 */
  1498. label0000105E:
  1499. 0000105E  246D FEFC                movea.l    A2, [A5 - 0x104]
  1500. 00001062  2252                     movea.l    A1, [A2]
  1501. 00001064  3629 002A                move.w     D3, [A1 + 0x2A]
  1502. 00001068  48C3                     ext.l      D3
  1503. 0000106A  87E9 0022                divs.w     D3, [A1 + 0x22]
  1504. 0000106E  C6FC 0048                mulu.w     D3, 0x48 /* 'H' */
  1505. 00001072  3D43 FFD8                move.w     [A6 - 0x28], D3
  1506. 00001076  3629 002C                move.w     D3, [A1 + 0x2C]
  1507. 0000107A  48C3                     ext.l      D3
  1508. 0000107C  87E9 0024                divs.w     D3, [A1 + 0x24]
  1509. 00001080  C6FC 0048                mulu.w     D3, 0x48 /* 'H' */
  1510. 00001084  0443 01E0                subi.w     D3, 0x1E0
  1511. 00001088  48C3                     ext.l      D3
  1512. 0000108A  87FC 0002                divs.w     D3, 0x2
  1513. 0000108E  3B43 FDA6                move.w     [A5 - 0x25A], D3
  1514. 00001092  6C06                     bge        +0x8 /* 0000109A */
  1515. 00001094  3B7C 0000 FDA6           move.w     [A5 - 0x25A], 0x0
  1516. label0000109A:
  1517. 0000109A  42AE FFC8                clr.l      [A6 - 0x38]
  1518. 0000109E  42AE FFD0                clr.l      [A6 - 0x30]
  1519. 000010A2  42AE FFD4                clr.l      [A6 - 0x2C]
  1520. 000010A6  42AE FFDC                clr.l      [A6 - 0x24]
  1521. 000010AA  422E FFC7                clr.b      [A6 - 0x39]
  1522. 000010AE  426E FFE0                clr.w      [A6 - 0x20]
  1523. 000010B2  4EFA 018E                jmp        [PC + 0x18E /* 00001242 */]
  1524. label000010B6:
  1525. 000010B6  362E FFE0                move.w     D3, [A6 - 0x20]
  1526. 000010BA  C7FC 0014                muls.w     D3, 0x14
  1527. 000010BE  2443                     movea.l    A2, D3
  1528. 000010C0  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1529. 000010C4  2D6A 0008 FFCC           move.l     [A6 - 0x34], [A2 + 0x8]
  1530. 000010CA  0C92 5445 5854           cmpi.l     [A2], 0x54455854 /* 'TEXT' */
  1531. 000010D0  6622                     bne        +0x24 /* 000010F4 */
  1532. 000010D2  4267                     clr.w      -[A7]
  1533. 000010D4  486E FFDA                pea.l      [A6 - 0x26]
  1534. 000010D8  3F2E FFD8                move.w     -[A7], [A6 - 0x28]
  1535. 000010DC  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  1536. 000010E0  3F2E FFE0                move.w     -[A7], [A6 - 0x20]
  1537. 000010E4  4EBA 01B0                jsr        [PC + 0x1B0 /* 00001296 */]
  1538. 000010E8  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1539. 000010EC  1D40 FFC7                move.b     [A6 - 0x39], D0
  1540. 000010F0  4EFA 00E0                jmp        [PC + 0xE0 /* 000011D2 */]
  1541. label000010F4:
  1542. 000010F4  0C92 5049 4354           cmpi.l     [A2], 0x50494354 /* 'PICT' */
  1543. 000010FA  670A                     beq        +0xC /* 00001106 */
  1544. 000010FC  3F3C 0002                move.w     -[A7], 0x2
  1545. 00001100  A9C8                     syscall    SysBeep
  1546. 00001102  6000 FEC2                bra        -0x13C /* 00000FC6 */
  1547. label00001106:
  1548. 00001106  4A2E FFC7                tst.b      [A6 - 0x39]
  1549. 0000110A  6700 008A                beq        +0x8C /* 00001196 */
  1550. 0000110E  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  1551. 00001112  3F2E FFE0                move.w     -[A7], [A6 - 0x20]
  1552. 00001116  4EBA 02DA                jsr        [PC + 0x2DA /* 000013F2 */]
  1553. 0000111A  5C4F                     addq.w     A7, 6
  1554. 0000111C  262E FFC8                move.l     D3, [A6 - 0x38]
  1555. 00001120  B6AE FFD0                cmp.l      D3, [A6 - 0x30]
  1556. 00001124  6C30                     bge        +0x32 /* 00001156 */
  1557. 00001126  362E FFD8                move.w     D3, [A6 - 0x28]
  1558. 0000112A  48C3                     ext.l      D3
  1559. 0000112C  242E FFCC                move.l     D2, [A6 - 0x34]
  1560. 00001130  94AE FFD0                sub.l      D2, [A6 - 0x30]
  1561. 00001134  D4AE FFC8                add.l      D2, [A6 - 0x38]
  1562. 00001138  B682                     cmp.l      D3, D2
  1563. 0000113A  6E08                     bgt        +0xA /* 00001144 */
  1564. 0000113C  362E FFD8                move.w     D3, [A6 - 0x28]
  1565. 00001140  48C3                     ext.l      D3
  1566. 00001142  600C                     bra        +0xE /* 00001150 */
  1567. label00001144:
  1568. 00001144  262E FFCC                move.l     D3, [A6 - 0x34]
  1569. 00001148  96AE FFD0                sub.l      D3, [A6 - 0x30]
  1570. 0000114C  D6AE FFC8                add.l      D3, [A6 - 0x38]
  1571. label00001150:
  1572. 00001150  3D43 FFDA                move.w     [A6 - 0x26], D3
  1573. 00001154  601C                     bra        +0x1E /* 00001172 */
  1574. label00001156:
  1575. 00001156  362E FFD8                move.w     D3, [A6 - 0x28]
  1576. 0000115A  48C3                     ext.l      D3
  1577. 0000115C  B6AE FFCC                cmp.l      D3, [A6 - 0x34]
  1578. 00001160  6E08                     bgt        +0xA /* 0000116A */
  1579. 00001162  362E FFD8                move.w     D3, [A6 - 0x28]
  1580. 00001166  48C3                     ext.l      D3
  1581. 00001168  6004                     bra        +0x6 /* 0000116E */
  1582. label0000116A:
  1583. 0000116A  262E FFCC                move.l     D3, [A6 - 0x34]
  1584. label0000116E:
  1585. 0000116E  3D43 FFDA                move.w     [A6 - 0x26], D3
  1586. label00001172:
  1587. 00001172  262E FFC8                move.l     D3, [A6 - 0x38]
  1588. 00001176  D6AE FFCC                add.l      D3, [A6 - 0x34]
  1589. 0000117A  342E FFD8                move.w     D2, [A6 - 0x28]
  1590. 0000117E  48C2                     ext.l      D2
  1591. 00001180  D4AE FFD0                add.l      D2, [A6 - 0x30]
  1592. 00001184  B682                     cmp.l      D3, D2
  1593. 00001186  6F06                     ble        +0x8 /* 0000118E */
  1594. 00001188  363C 0001                move.w     D3, 0x1
  1595. 0000118C  6002                     bra        +0x4 /* 00001190 */
  1596. label0000118E:
  1597. 0000118E  4243                     clr.w      D3
  1598. label00001190:
  1599. 00001190  1D43 FFC7                move.b     [A6 - 0x39], D3
  1600. 00001194  603C                     bra        +0x3E /* 000011D2 */
  1601. label00001196:
  1602. 00001196  262E FFCC                move.l     D3, [A6 - 0x34]
  1603. 0000119A  6604                     bne        +0x6 /* 000011A0 */
  1604. 0000119C  362A 000E                move.w     D3, [A2 + 0xE]
  1605. label000011A0:
  1606. 000011A0  D6AE FFD4                add.l      D3, [A6 - 0x2C]
  1607. 000011A4  342E FFD8                move.w     D2, [A6 - 0x28]
  1608. 000011A8  48C2                     ext.l      D2
  1609. 000011AA  D4AE FFD0                add.l      D2, [A6 - 0x30]
  1610. 000011AE  B682                     cmp.l      D3, D2
  1611. 000011B0  6F0C                     ble        +0xE /* 000011BE */
  1612. 000011B2  1D7C 00FF FFC7           move.b     [A6 - 0x39], 0xFF
  1613. 000011B8  426E FFDA                clr.w      [A6 - 0x26]
  1614. 000011BC  6014                     bra        +0x16 /* 000011D2 */
  1615. label000011BE:
  1616. 000011BE  2F2E FFDC                move.l     -[A7], [A6 - 0x24]
  1617. 000011C2  3F2E FFE0                move.w     -[A7], [A6 - 0x20]
  1618. 000011C6  4EBA 022A                jsr        [PC + 0x22A /* 000013F2 */]
  1619. 000011CA  5C4F                     addq.w     A7, 6
  1620. 000011CC  3D6E FFCE FFDA           move.w     [A6 - 0x26], [A6 - 0x32]
  1621. label000011D2:
  1622. 000011D2  362E FFDA                move.w     D3, [A6 - 0x26]
  1623. 000011D6  48C3                     ext.l      D3
  1624. 000011D8  D7AE FFD4                add.l      [A6 - 0x2C], D3
  1625. 000011DC  4A2E FFC7                tst.b      [A6 - 0x39]
  1626. 000011E0  6706                     beq        +0x8 /* 000011E8 */
  1627. 000011E2  536E FFE0                subq.w     [A6 - 0x20], 1
  1628. 000011E6  6028                     bra        +0x2A /* 00001210 */
  1629. label000011E8:
  1630. 000011E8  262E FFCC                move.l     D3, [A6 - 0x34]
  1631. 000011EC  D7AE FFC8                add.l      [A6 - 0x38], D3
  1632. 000011F0  262E FFC8                move.l     D3, [A6 - 0x38]
  1633. 000011F4  96AE FFD0                sub.l      D3, [A6 - 0x30]
  1634. 000011F8  2D43 FFDC                move.l     [A6 - 0x24], D3
  1635. 000011FC  362E FFD8                move.w     D3, [A6 - 0x28]
  1636. 00001200  48C3                     ext.l      D3
  1637. 00001202  D6AE FFD0                add.l      D3, [A6 - 0x30]
  1638. 00001206  242E FFD4                move.l     D2, [A6 - 0x2C]
  1639. 0000120A  B483                     cmp.l      D2, D3
  1640. 0000120C  6C02                     bge        +0x4 /* 00001210 */
  1641. 0000120E  602E                     bra        +0x30 /* 0000123E */
  1642. label00001210:
  1643. 00001210  4267                     clr.w      -[A7]
  1644. 00001212  4EBA 04E6                jsr        [PC + 0x4E6 /* 000016FA */]
  1645. 00001216  301F                     move.w     D0, [A7]+
  1646. 00001218  6634                     bne        +0x36 /* 0000124E */
  1647. 0000121A  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1648. 0000121E  4EBA 03D0                jsr        [PC + 0x3D0 /* 000015F0 */]
  1649. 00001222  2D6E FFD4 FFD0           move.l     [A6 - 0x30], [A6 - 0x2C]
  1650. 00001228  262E FFC8                move.l     D3, [A6 - 0x38]
  1651. 0000122C  96AE FFD0                sub.l      D3, [A6 - 0x30]
  1652. 00001230  2D43 FFDC                move.l     [A6 - 0x24], D3
  1653. 00001234  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1654. 00001238  42A7                     clr.l      -[A7]
  1655. 0000123A  4EBA 03A6                jsr        [PC + 0x3A6 /* 000015E2 */]
  1656. label0000123E:
  1657. 0000123E  526E FFE0                addq.w     [A6 - 0x20], 1
  1658. label00001242:
  1659. 00001242  362E FFE0                move.w     D3, [A6 - 0x20]
  1660. 00001246  B66D FDA8                cmp.w      D3, [A5 - 0x258]
  1661. 0000124A  6D00 FE6A                blt        -0x194 /* 000010B6 */
  1662. label0000124E:
  1663. 0000124E  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1664. 00001252  4EBA 039C                jsr        [PC + 0x39C /* 000015F0 */]
  1665. 00001256  2F2E FFFC                move.l     -[A7], [A6 - 0x4]
  1666. 0000125A  4EBA 0378                jsr        [PC + 0x378 /* 000015D4 */]
  1667. 0000125E  246D FEFC                movea.l    A2, [A5 - 0x104]
  1668. 00001262  2252                     movea.l    A1, [A2]
  1669. 00001264  1629 0044                move.b     D3, [A1 + 0x44]
  1670. 00001268  4883                     ext.w      D3
  1671. 0000126A  0C43 0001                cmpi.w     D3, 0x1
  1672. 0000126E  661C                     bne        +0x1E /* 0000128C */
  1673. 00001270  4267                     clr.w      -[A7]
  1674. 00001272  4EBA 0486                jsr        [PC + 0x486 /* 000016FA */]
  1675. 00001276  301F                     move.w     D0, [A7]+
  1676. 00001278  6612                     bne        +0x14 /* 0000128C */
  1677. 0000127A  2F2D FEFC                move.l     -[A7], [A5 - 0x104]
  1678. 0000127E  42A7                     clr.l      -[A7]
  1679. 00001280  42A7                     clr.l      -[A7]
  1680. 00001282  42A7                     clr.l      -[A7]
  1681. 00001284  486E FFE2                pea.l      [A6 - 0x1E]
  1682. 00001288  4EBA 03E4                jsr        [PC + 0x3E4 /* 0000166E */]
  1683. label0000128C:
  1684. 0000128C  486D FF90                pea.l      [A5 - 0x70]
  1685. 00001290  A851                     syscall    SetCursor
  1686. 00001292  6000 FD32                bra        -0x2CC /* 00000FC6 */
  1687. fn00001296:
  1688. 00001296  4E56 FFF0                link       A6, -0x0010
  1689. 0000129A  48E7 0E18                movem.l    -[A7], D4,D5,D6,A3,A4
  1690. 0000129E  362E 0008                move.w     D3, [A6 + 0x8]
  1691. 000012A2  C7FC 0014                muls.w     D3, 0x14
  1692. 000012A6  2443                     movea.l    A2, D3
  1693. 000012A8  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1694. 000012AC  162A 000E                move.b     D3, [A2 + 0xE]
  1695. 000012B0  4883                     ext.w      D3
  1696. 000012B2  3F03                     move.w     -[A7], D3
  1697. 000012B4  162A 000D                move.b     D3, [A2 + 0xD]
  1698. 000012B8  4883                     ext.w      D3
  1699. 000012BA  3F03                     move.w     -[A7], D3
  1700. 000012BC  162A 000C                move.b     D3, [A2 + 0xC]
  1701. 000012C0  4883                     ext.w      D3
  1702. 000012C2  3F03                     move.w     -[A7], D3
  1703. 000012C4  A887                     syscall    TextFont
  1704. 000012C6  A88A                     syscall    TextSize
  1705. 000012C8  A888                     syscall    TextFace
  1706. 000012CA  486E FFF0                pea.l      [A6 - 0x10]
  1707. 000012CE  A88B                     syscall    GetFontInfo
  1708. 000012D0  3D6E FFF2 FFFC           move.w     [A6 - 0x4], [A6 - 0xE]
  1709. 000012D6  362E FFF0                move.w     D3, [A6 - 0x10]
  1710. 000012DA  D66E FFFC                add.w      D3, [A6 - 0x4]
  1711. 000012DE  3D43 FFFE                move.w     [A6 - 0x2], D3
  1712. 000012E2  4A2E 0015                tst.b      [A6 + 0x15]
  1713. 000012E6  6714                     beq        +0x16 /* 000012FC */
  1714. 000012E8  362E FFFE                move.w     D3, [A6 - 0x2]
  1715. 000012EC  4443                     neg.w      D3
  1716. 000012EE  3D43 FFF8                move.w     [A6 - 0x8], D3
  1717. 000012F2  362E FFFE                move.w     D3, [A6 - 0x2]
  1718. 000012F6  D76E 000E                add.w      [A6 + 0xE], D3
  1719. 000012FA  6004                     bra        +0x6 /* 00001300 */
  1720. label000012FC:
  1721. 000012FC  426E FFF8                clr.w      [A6 - 0x8]
  1722. label00001300:
  1723. 00001300  206A 0010                movea.l    A0, [A2 + 0x10]
  1724. 00001304  2850                     movea.l    A4, [A0]
  1725. 00001306  A029                     syscall    HLock
  1726. 00001308  362E 0008                move.w     D3, [A6 + 0x8]
  1727. 0000130C  48C3                     ext.l      D3
  1728. 0000130E  E583                     asl        D3, 2
  1729. 00001310  246D FDB2                movea.l    A2, [A5 - 0x24E]
  1730. 00001314  2672 3800                movea.l    A3, [A2 + D3]
  1731. 00001318  204B                     movea.l    A0, A3
  1732. 0000131A  A029                     syscall    HLock
  1733. 0000131C  204B                     movea.l    A0, A3
  1734. 0000131E  A025                     syscall    GetHandleSize
  1735. 00001320  2653                     movea.l    A3, [A3]
  1736. 00001322  3D40 FFFA                move.w     [A6 - 0x6], D0
  1737. 00001326  246E 0010                movea.l    A2, [A6 + 0x10]
  1738. 0000132A  4252                     clr.w      [A2]
  1739. 0000132C  7800                     moveq.l    D4, 0x00
  1740. 0000132E  2A2E 000A                move.l     D5, [A6 + 0xA]
  1741. 00001332  6022                     bra        +0x24 /* 00001356 */
  1742. label00001334:
  1743. 00001334  362E FFFE                move.w     D3, [A6 - 0x2]
  1744. 00001338  48C3                     ext.l      D3
  1745. 0000133A  DA83                     add.l      D5, D3
  1746. 0000133C  362E FFF8                move.w     D3, [A6 - 0x8]
  1747. 00001340  48C3                     ext.l      D3
  1748. 00001342  BA83                     cmp.l      D5, D3
  1749. 00001344  6E16                     bgt        +0x18 /* 0000135C */
  1750. 00001346  3604                     move.w     D3, D4
  1751. 00001348  5244                     addq.w     D4, 1
  1752. 0000134A  1433 3000                move.b     D2, [A3 + D3.w]
  1753. 0000134E  0282 0000 00FF           andi.l     D2, 0xFF
  1754. 00001354  D9C2                     add.l      A4, D2
  1755. label00001356:
  1756. 00001356  B86E FFFA                cmp.w      D4, [A6 - 0x6]
  1757. 0000135A  6DD8                     blt        -0x26 /* 00001334 */
  1758. label0000135C:
  1759. 0000135C  362E FFFC                move.w     D3, [A6 - 0x4]
  1760. 00001360  48C3                     ext.l      D3
  1761. 00001362  9A83                     sub.l      D5, D3
  1762. 00001364  976E 000E                sub.w      [A6 + 0xE], D3
  1763. 00001368  6046                     bra        +0x48 /* 000013B0 */
  1764. label0000136A:
  1765. 0000136A  362D FDA6                move.w     D3, [A5 - 0x25A]
  1766. 0000136E  5643                     addq.w     D3, 3
  1767. 00001370  3F03                     move.w     -[A7], D3
  1768. 00001372  3F05                     move.w     -[A7], D5
  1769. 00001374  A893                     syscall    MoveTo
  1770. 00001376  2F0C                     move.l     -[A7], A4
  1771. 00001378  4267                     clr.w      -[A7]
  1772. 0000137A  1633 4000                move.b     D3, [A3 + D4.w]
  1773. 0000137E  0243 00FF                andi.w     D3, 0xFF
  1774. 00001382  3F03                     move.w     -[A7], D3
  1775. 00001384  A885                     syscall    DrawText
  1776. 00001386  246E 0010                movea.l    A2, [A6 + 0x10]
  1777. 0000138A  362E FFFE                move.w     D3, [A6 - 0x2]
  1778. 0000138E  D752                     add.w      [A2], D3
  1779. 00001390  1633 4000                move.b     D3, [A3 + D4.w]
  1780. 00001394  0283 0000 00FF           andi.l     D3, 0xFF
  1781. 0000139A  D9C3                     add.l      A4, D3
  1782. 0000139C  362E FFFE                move.w     D3, [A6 - 0x2]
  1783. 000013A0  48C3                     ext.l      D3
  1784. 000013A2  DA83                     add.l      D5, D3
  1785. 000013A4  362E 000E                move.w     D3, [A6 + 0xE]
  1786. 000013A8  48C3                     ext.l      D3
  1787. 000013AA  BA83                     cmp.l      D5, D3
  1788. 000013AC  6E08                     bgt        +0xA /* 000013B6 */
  1789. 000013AE  5244                     addq.w     D4, 1
  1790. label000013B0:
  1791. 000013B0  B86E FFFA                cmp.w      D4, [A6 - 0x6]
  1792. 000013B4  6DB4                     blt        -0x4A /* 0000136A */
  1793. label000013B6:
  1794. 000013B6  362E 0008                move.w     D3, [A6 + 0x8]
  1795. 000013BA  48C3                     ext.l      D3
  1796. 000013BC  E583                     asl        D3, 2
  1797. 000013BE  246D FDB2                movea.l    A2, [A5 - 0x24E]
  1798. 000013C2  2072 3800                movea.l    A0, [A2 + D3]
  1799. 000013C6  A02A                     syscall    HUnlock
  1800. 000013C8  362E 0008                move.w     D3, [A6 + 0x8]
  1801. 000013CC  C7FC 0014                muls.w     D3, 0x14
  1802. 000013D0  2443                     movea.l    A2, D3
  1803. 000013D2  D5ED FDAE                add.l      A2, [A5 - 0x252]
  1804. 000013D6  206A 0010                movea.l    A0, [A2 + 0x10]
  1805. 000013DA  A02A                     syscall    HUnlock
  1806. 000013DC  B86E FFFA                cmp.w      D4, [A6 - 0x6]
  1807. 000013E0  6604                     bne        +0x6 /* 000013E6 */
  1808. 000013E2  7000                     moveq.l    D0, 0x00
  1809. 000013E4  6002                     bra        +0x4 /* 000013E8 */
  1810. label000013E6:
  1811. 000013E6  70FF                     moveq.l    D0, 0xFFFFFFFF
  1812. label000013E8:
  1813. 000013E8  4880                     ext.w      D0
  1814. 000013EA  4CDF 1870                movem.l    D4,D5,D6,A3,A4, [A7]+
  1815. 000013EE  4E5E                     unlink     A6
  1816. 000013F0  4E75                     rts
  1817. fn000013F2:
  1818. 000013F2  4E56 FFF8                link       A6, -0x0008
  1819. 000013F6  48E7 0C18                movem.l    -[A7], D4,D5,A3,A4
  1820. 000013FA  362E 0008                move.w     D3, [A6 + 0x8]
  1821. 000013FE  C7FC 0014                muls.w     D3, 0x14
  1822. 00001402  2843                     movea.l    A4, D3
  1823. 00001404  D9ED FDAE                add.l      A4, [A5 - 0x252]
  1824. 00001408  206C 0010                movea.l    A0, [A4 + 0x10]
  1825. 0000140C  2F08                     move.l     -[A7], A0
  1826. 0000140E  A029                     syscall    HLock
  1827. 00001410  225F                     movea.l    A1, [A7]+
  1828. 00001412  2651                     movea.l    A3, [A1]
  1829. 00001414  362B 0002                move.w     D3, [A3 + 0x2]
  1830. 00001418  48C3                     ext.l      D3
  1831. 0000141A  2A2E 000A                move.l     D5, [A6 + 0xA]
  1832. 0000141E  9A83                     sub.l      D5, D3
  1833. 00001420  382C 000C                move.w     D4, [A4 + 0xC]
  1834. 00001424  D86D FDA6                add.w      D4, [A5 - 0x25A]
  1835. 00001428  45EE FFF8                lea.l      A2, [A6 - 0x8]
  1836. 0000142C  224B                     movea.l    A1, A3
  1837. 0000142E  5489                     addq.l     A1, 2
  1838. 00001430  24D9                     move.l     [A2]+, [A1]+
  1839. 00001432  24D9                     move.l     [A2]+, [A1]+
  1840. 00001434  486E FFF8                pea.l      [A6 - 0x8]
  1841. 00001438  3F04                     move.w     -[A7], D4
  1842. 0000143A  3F05                     move.w     -[A7], D5
  1843. 0000143C  A8A8                     syscall    OffsetRect
  1844. 0000143E  206C 0010                movea.l    A0, [A4 + 0x10]
  1845. 00001442  A02A                     syscall    HUnlock
  1846. 00001444  2F2C 0010                move.l     -[A7], [A4 + 0x10]
  1847. 00001448  486E FFF8                pea.l      [A6 - 0x8]
  1848. 0000144C  A8F6                     syscall    DrawPicture
  1849. 0000144E  4CDF 1830                movem.l    D4,D5,A3,A4, [A7]+
  1850. 00001452  4E5E                     unlink     A6
  1851. 00001454  4E75                     rts
  1852. fn00001456:
  1853. 00001456  4E56 FFCE                link       A6, -0x0032
  1854. 0000145A  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1855. 0000145E  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  1856. 00001464  A001                     syscall    Close
  1857. 00001466  4E5E                     unlink     A6
  1858. 00001468  4E75                     rts
  1859. fn0000146A:
  1860. 0000146A  4E56 FFCE                link       A6, -0x0032
  1861. 0000146E  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1862. 00001472  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  1863. 00001478  316E 000C 0016           move.w     [A0 + 0x16], [A6 + 0xC]
  1864. 0000147E  4268 001A                clr.w      [A0 + 0x1A]
  1865. 00001482  42A8 001C                clr.l      [A0 + 0x1C]
  1866. 00001486  A000                     syscall    Open/PBHOpen/HOpen
  1867. 00001488  226E 000E                movea.l    A1, [A6 + 0xE]
  1868. 0000148C  32A8 0018                move.w     [A1], [A0 + 0x18]
  1869. 00001490  4E5E                     unlink     A6
  1870. 00001492  4E75                     rts
  1871. fn00001494:
  1872. 00001494  50C0                     st         D0
  1873. 00001496  6002                     bra        +0x4 /* 0000149A */
  1874. 00001498  51C0                     sf         D0
  1875. label0000149A:
  1876. 0000149A  4E56 FFCE                link       A6, -0x0032
  1877. 0000149E  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1878. 000014A2  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  1879. 000014A8  226E 000A                movea.l    A1, [A6 + 0xA]
  1880. 000014AC  2151 0024                move.l     [A0 + 0x24], [A1]
  1881. 000014B0  216E 000E 0020           move.l     [A0 + 0x20], [A6 + 0xE]
  1882. 000014B6  4268 002C                clr.w      [A0 + 0x2C]
  1883. 000014BA  42A8 002E                clr.l      [A0 + 0x2E]
  1884. 000014BE  4A00                     tst.b      D0
  1885. 000014C0  6604                     bne        +0x6 /* 000014C6 */
  1886. 000014C2  A003                     syscall    Write
  1887. 000014C4  6002                     bra        +0x4 /* 000014C8 */
  1888. label000014C6:
  1889. 000014C6  A002                     syscall    Read
  1890. label000014C8:
  1891. 000014C8  226E 000A                movea.l    A1, [A6 + 0xA]
  1892. 000014CC  22A8 0028                move.l     [A1], [A0 + 0x28]
  1893. 000014D0  4E5E                     unlink     A6
  1894. 000014D2  4E75                     rts
  1895. fn000014D4:
  1896. 000014D4  4E56 FFC0                link       A6, -0x0040
  1897. 000014D8  41EE FFC0                lea.l      A0, [A6 - 0x40]
  1898. 000014DC  216E 0008 0012           move.l     [A0 + 0x12], [A6 + 0x8]
  1899. 000014E2  A014                     syscall    GetVol/PBHGetVol/HGetVol
  1900. 000014E4  226E 000C                movea.l    A1, [A6 + 0xC]
  1901. 000014E8  32A8 0016                move.w     [A1], [A0 + 0x16]
  1902. 000014EC  4E5E                     unlink     A6
  1903. 000014EE  4E75                     rts
  1904. fn000014F0:
  1905. 000014F0  4E56 FFCE                link       A6, -0x0032
  1906. 000014F4  41EE FFCE                lea.l      A0, [A6 - 0x32]
  1907. 000014F8  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  1908. 000014FE  316E 000A 002C           move.w     [A0 + 0x2C], [A6 + 0xA]
  1909. 00001504  216E 000C 002E           move.l     [A0 + 0x2E], [A6 + 0xC]
  1910. 0000150A  A044                     syscall    SetFPos
  1911. 0000150C  4E5E                     unlink     A6
  1912. 0000150E  4E75                     rts
  1913. fn00001510:
  1914. 00001510  206F 0004                movea.l    A0, [A7 + 0x4]
  1915. 00001514  202F 0008                move.l     D0, [A7 + 0x8]
  1916. 00001518  4267                     clr.w      -[A7]
  1917. 0000151A  A9EE                     syscall    Pack7/DecStr68K
  1918. 0000151C  205F                     movea.l    A0, [A7]+
  1919. 0000151E  504F                     addq.w     A7, 8
  1920. 00001520  4ED0                     jmp        [A0]
  1921. fn00001522:
  1922. 00001522  2F04                     move.l     -[A7], D4
  1923. 00001524  4284                     clr.l      D4
  1924. 00001526  4A80                     tst.l      D0
  1925. 00001528  6A04                     bpl        +0x6 /* 0000152E */
  1926. 0000152A  4480                     neg.l      D0
  1927. 0000152C  5244                     addq.w     D4, 1
  1928. label0000152E:
  1929. 0000152E  4A81                     tst.l      D1
  1930. 00001530  6A06                     bpl        +0x8 /* 00001538 */
  1931. 00001532  4481                     neg.l      D1
  1932. 00001534  0A44 0001                xori.w     D4, 0x1
  1933. label00001538:
  1934. 00001538  610A                     bsr        +0xC /* 00001544 */
  1935. 0000153A  4A44                     tst.w      D4
  1936. 0000153C  6702                     beq        +0x4 /* 00001540 */
  1937. 0000153E  4480                     neg.l      D0
  1938. label00001540:
  1939. 00001540  281F                     move.l     D4, [A7]+
  1940. 00001542  4E75                     rts
  1941. fn00001544:
  1942. 00001544  48E7 3000                movem.l    -[A7], D2,D3
  1943. 00001548  4841                     swap.w     D1
  1944. 0000154A  4A41                     tst.w      D1
  1945. 0000154C  6628                     bne        +0x2A /* 00001576 */
  1946. 0000154E  4841                     swap.w     D1
  1947. 00001550  4243                     clr.w      D3
  1948. 00001552  80C1                     divu.w     D0, D1
  1949. 00001554  680E                     bvc        +0x10 /* 00001564 */
  1950. 00001556  3400                     move.w     D2, D0
  1951. 00001558  4240                     clr.w      D0
  1952. 0000155A  4840                     swap.w     D0
  1953. 0000155C  80C1                     divu.w     D0, D1
  1954. 0000155E  3600                     move.w     D3, D0
  1955. 00001560  3002                     move.w     D0, D2
  1956. 00001562  80C1                     divu.w     D0, D1
  1957. label00001564:
  1958. 00001564  2200                     move.l     D1, D0
  1959. 00001566  4840                     swap.w     D0
  1960. 00001568  3003                     move.w     D0, D3
  1961. 0000156A  4840                     swap.w     D0
  1962. 0000156C  4241                     clr.w      D1
  1963. 0000156E  4841                     swap.w     D1
  1964. 00001570  4CDF 000C                movem.l    D2,D3, [A7]+
  1965. 00001574  4E75                     rts
  1966. label00001576:
  1967. 00001576  4841                     swap.w     D1
  1968. 00001578  4282                     clr.l      D2
  1969. 0000157A  761F                     moveq.l    D3, 0x1F
  1970. label0000157C:
  1971. 0000157C  E380                     asl        D0, 1
  1972. 0000157E  E392                     roxl       D2, 1
  1973. 00001580  9481                     sub.l      D2, D1
  1974. 00001582  6B10                     bmi        +0x12 /* 00001594 */
  1975. label00001584:
  1976. 00001584  5280                     addq.l     D0, 1
  1977. 00001586  51CB FFF4                dbf        D3, -0xE /* 0000157C */
  1978. 0000158A  600E                     bra        +0x10 /* 0000159A */
  1979. label0000158C:
  1980. 0000158C  E380                     asl        D0, 1
  1981. 0000158E  E392                     roxl       D2, 1
  1982. 00001590  D481                     add.l      D2, D1
  1983. 00001592  6AF0                     bpl        -0xE /* 00001584 */
  1984. label00001594:
  1985. 00001594  51CB FFF6                dbf        D3, -0xC /* 0000158C */
  1986. 00001598  D481                     add.l      D2, D1
  1987. label0000159A:
  1988. 0000159A  2202                     move.l     D1, D2
  1989. 0000159C  4CDF 000C                movem.l    D2,D3, [A7]+
  1990. 000015A0  4E75                     rts
  1991. fn000015A2:
  1992. 000015A2  48E7 3000                movem.l    -[A7], D2,D3
  1993. 000015A6  3401                     move.w     D2, D1
  1994. 000015A8  C4C0                     mulu.w     D2, D0
  1995. 000015AA  2601                     move.l     D3, D1
  1996. 000015AC  4843                     swap.w     D3
  1997. 000015AE  C6C0                     mulu.w     D3, D0
  1998. 000015B0  4843                     swap.w     D3
  1999. 000015B2  4243                     clr.w      D3
  2000. 000015B4  D483                     add.l      D2, D3
  2001. 000015B6  4840                     swap.w     D0
  2002. 000015B8  C0C1                     mulu.w     D0, D1
  2003. 000015BA  4840                     swap.w     D0
  2004. 000015BC  4240                     clr.w      D0
  2005. 000015BE  D082                     add.l      D0, D2
  2006. 000015C0  4CDF 000C                movem.l    D2,D3, [A7]+
  2007. 000015C4  4E75                     rts
  2008. fn000015C6:
  2009. 000015C6  2F17                     move.l     -[A7], [A7]
  2010. 000015C8  2F7C 0400 0C00 0004      move.l     [A7 + 0x4], 0x4000C00
  2011. 000015D0  4EFA 0160                jmp        [PC + 0x160 /* 00001732 */]
  2012. fn000015D4:
  2013. 000015D4  2F17                     move.l     -[A7], [A7]
  2014. 000015D6  2F7C 0800 0484 0004      move.l     [A7 + 0x4], 0x8000484
  2015. 000015DE  4EFA 0152                jmp        [PC + 0x152 /* 00001732 */]
  2016. fn000015E2:
  2017. 000015E2  2F17                     move.l     -[A7], [A7]
  2018. 000015E4  2F7C 1000 0808 0004      move.l     [A7 + 0x4], 0x10000808
  2019. 000015EC  4EFA 0144                jmp        [PC + 0x144 /* 00001732 */]
  2020. fn000015F0:
  2021. 000015F0  2F17                     move.l     -[A7], [A7]
  2022. 000015F2  2F7C 1800 040C 0004      move.l     [A7 + 0x4], 0x1800040C
  2023. 000015FA  4EFA 0136                jmp        [PC + 0x136 /* 00001732 */]
  2024. fn000015FE:
  2025. 000015FE  2F17                     move.l     -[A7], [A7]
  2026. 00001600  2F7C 2004 0480 0004      move.l     [A7 + 0x4], 0x20040480
  2027. 00001608  4EFA 0128                jmp        [PC + 0x128 /* 00001732 */]
  2028. fn0000160C:
  2029. 0000160C  2F17                     move.l     -[A7], [A7]
  2030. 0000160E  2F7C 2A04 0484 0004      move.l     [A7 + 0x4], 0x2A040484
  2031. 00001616  4EFA 011A                jmp        [PC + 0x11A /* 00001732 */]
  2032. fn0000161A:
  2033. 0000161A  2F17                     move.l     -[A7], [A7]
  2034. 0000161C  2F7C 3204 0488 0004      move.l     [A7 + 0x4], 0x32040488
  2035. 00001624  4EFA 010C                jmp        [PC + 0x10C /* 00001732 */]
  2036. 00001628  2F17                     move.l     -[A7], [A7]
  2037. 0000162A  2F7C 3C04 040C 0004      move.l     [A7 + 0x4], 0x3C04040C
  2038. 00001632  4EFA 00FE                jmp        [PC + 0xFE /* 00001732 */]
  2039. 00001636  2F17                     move.l     -[A7], [A7]
  2040. 00001638  2F7C 4404 0410 0004      move.l     [A7 + 0x4], 0x44040410
  2041. 00001640  4EFA 00F0                jmp        [PC + 0xF0 /* 00001732 */]
  2042. 00001644  2F17                     move.l     -[A7], [A7]
  2043. 00001646  2F7C 4A04 0894 0004      move.l     [A7 + 0x4], 0x4A040894
  2044. 0000164E  4EFA 00E2                jmp        [PC + 0xE2 /* 00001732 */]
  2045. 00001652  2F17                     move.l     -[A7], [A7]
  2046. 00001654  2F7C 5204 0498 0004      move.l     [A7 + 0x4], 0x52040498
  2047. 0000165C  4EFA 00D4                jmp        [PC + 0xD4 /* 00001732 */]
  2048. 00001660  2F17                     move.l     -[A7], [A7]
  2049. 00001662  2F7C 5804 089C 0004      move.l     [A7 + 0x4], 0x5804089C
  2050. 0000166A  4EFA 00C6                jmp        [PC + 0xC6 /* 00001732 */]
  2051. fn0000166E:
  2052. 0000166E  2F17                     move.l     -[A7], [A7]
  2053. 00001670  2F7C 6005 1480 0004      move.l     [A7 + 0x4], 0x60051480
  2054. 00001678  4EFA 00B8                jmp        [PC + 0xB8 /* 00001732 */]
  2055. 0000167C  2F17                     move.l     -[A7], [A7]
  2056. 0000167E  2F7C 6C07 0C80 0004      move.l     [A7 + 0x4], 0x6C070C80
  2057. 00001686  4EFA 00AA                jmp        [PC + 0xAA /* 00001732 */]
  2058. 0000168A  2F17                     move.l     -[A7], [A7]
  2059. 0000168C  2F7C 7007 0480 0004      move.l     [A7 + 0x4], 0x70070480
  2060. 00001694  4EFA 009C                jmp        [PC + 0x9C /* 00001732 */]
  2061. 00001698  2F17                     move.l     -[A7], [A7]
  2062. 0000169A  2F7C 8000 0000 0004      move.l     [A7 + 0x4], 0x80000000
  2063. 000016A2  4EFA 008E                jmp        [PC + 0x8E /* 00001732 */]
  2064. 000016A6  2F17                     move.l     -[A7], [A7]
  2065. 000016A8  2F7C 8800 0000 0004      move.l     [A7 + 0x4], 0x88000000
  2066. 000016B0  4EFA 0080                jmp        [PC + 0x80 /* 00001732 */]
  2067. 000016B4  2F17                     move.l     -[A7], [A7]
  2068. 000016B6  2F7C 9400 0000 0004      move.l     [A7 + 0x4], 0x94000000
  2069. 000016BE  4EFA 0072                jmp        [PC + 0x72 /* 00001732 */]
  2070. 000016C2  2F17                     move.l     -[A7], [A7]
  2071. 000016C4  2F7C 9A00 0000 0004      move.l     [A7 + 0x4], 0x9A000000
  2072. 000016CC  4EFA 0064                jmp        [PC + 0x64 /* 00001732 */]
  2073. 000016D0  2F17                     move.l     -[A7], [A7]
  2074. 000016D2  2F7C A000 0E00 0004      move.l     [A7 + 0x4], 0xA0000E00
  2075. 000016DA  4EFA 0056                jmp        [PC + 0x56 /* 00001732 */]
  2076. 000016DE  2F17                     move.l     -[A7], [A7]
  2077. 000016E0  2F7C A800 0000 0004      move.l     [A7 + 0x4], 0xA8000000
  2078. 000016E8  4EFA 0048                jmp        [PC + 0x48 /* 00001732 */]
  2079. 000016EC  2F17                     move.l     -[A7], [A7]
  2080. 000016EE  2F7C B000 0000 0004      move.l     [A7 + 0x4], 0xB0000000
  2081. 000016F6  4EFA 003A                jmp        [PC + 0x3A /* 00001732 */]
  2082. fn000016FA:
  2083. 000016FA  2F17                     move.l     -[A7], [A7]
  2084. 000016FC  2F7C BA00 0000 0004      move.l     [A7 + 0x4], 0xBA000000
  2085. 00001704  4EFA 002C                jmp        [PC + 0x2C /* 00001732 */]
  2086. 00001708  2F17                     move.l     -[A7], [A7]
  2087. 0000170A  2F7C C000 0200 0004      move.l     [A7 + 0x4], 0xC0000200
  2088. 00001712  4EFA 001E                jmp        [PC + 0x1E /* 00001732 */]
  2089. fn00001716:
  2090. 00001716  2F17                     move.l     -[A7], [A7]
  2091. 00001718  2F7C C800 0000 0004      move.l     [A7 + 0x4], 0xC8000000
  2092. 00001720  4EFA 0010                jmp        [PC + 0x10 /* 00001732 */]
  2093. 00001724  2F17                     move.l     -[A7], [A7]
  2094. 00001726  2F7C D000 0000 0004      move.l     [A7 + 0x4], 0xD0000000
  2095. 0000172E  4EFA 0002                jmp        [PC + 0x2 /* 00001732 */]
  2096. fn00001732:
  2097. 00001732  4E56 0000                link       A6, 0
  2098. 00001736  48E7 0018                movem.l    -[A7], A3,A4
  2099. 0000173A  7200                     moveq.l    D1, 0x00
  2100. 0000173C  122E 0008                move.b     D1, [A6 + 0x8]
  2101. 00001740  E609                     lsr        D1.b, 3
  2102. 00001742  6718                     beq        +0x1A /* 0000175C */
  2103. 00001744  4A2E 0008                tst.b      [A6 + 0x8]
  2104. 00001748  6B00 00C6                bmi        +0xC8 /* 00001810 */
  2105. 0000174C  7400                     moveq.l    D2, 0x00
  2106. 0000174E  142E 0009                move.b     D2, [A6 + 0x9]
  2107. 00001752  661E                     bne        +0x20 /* 00001772 */
  2108. 00001754  7403                     moveq.l    D2, 0x03
  2109. 00001756  C438 0946                and.b      D2, [0x00000946 /* ChooserBits */]
  2110. 0000175A  6016                     bra        +0x18 /* 00001772 */
  2111. label0000175C:
  2112. 0000175C  206E 0014                movea.l    A0, [A6 + 0x14]
  2113. 00001760  2050                     movea.l    A0, [A0]
  2114. 00001762  7403                     moveq.l    D2, 0x03
  2115. 00001764  C428 0044                and.b      D2, [A0 + 0x44]
  2116. 00001768  0238 00FC 0946           andi.b     [0x00000946 /* ChooserBits */], 0xFC
  2117. 0000176E  8538 0946                or.b       [0x00000946 /* ChooserBits */], D2
  2118. label00001772:
  2119. 00001772  3678 0A5A                movea.w    A3, [0x00000A5A /* CurMap */]
  2120. 00001776  42A7                     clr.l      -[A7]
  2121. 00001778  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2122. 0000177E  3F02                     move.w     -[A7], D2
  2123. 00001780  A9A0                     syscall    GetResource
  2124. 00001782  201F                     move.l     D0, [A7]+
  2125. 00001784  4A80                     tst.l      D0
  2126. 00001786  664E                     bne        +0x50 /* 000017D6 */
  2127. 00001788  3678 0A5A                movea.w    A3, [0x00000A5A /* CurMap */]
  2128. 0000178C  0C78 FFFF 0952           cmpi.w     [0x00000952 /* PrRefNum */], 0xFFFF
  2129. 00001792  670C                     beq        +0xE /* 000017A0 */
  2130. 00001794  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2131. 00001798  A998                     syscall    UseResFile
  2132. 0000179A  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2133. 0000179E  6716                     beq        +0x18 /* 000017B6 */
  2134. label000017A0:
  2135. 000017A0  4EBA 01D8                jsr        [PC + 0x1D8 /* 0000197A */]
  2136. 000017A4  4A40                     tst.w      D0
  2137. 000017A6  6708                     beq        +0xA /* 000017B0 */
  2138. 000017A8  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2139. 000017AC  4EFA 00B0                jmp        [PC + 0xB0 /* 0000185E */]
  2140. label000017B0:
  2141. 000017B0  3F38 0952                move.w     -[A7], [0x00000952 /* PrRefNum */]
  2142. 000017B4  A998                     syscall    UseResFile
  2143. label000017B6:
  2144. 000017B6  42A7                     clr.l      -[A7]
  2145. 000017B8  2F3C 5044 4546           move.l     -[A7], 0x50444546 /* 'PDEF' */
  2146. 000017BE  3F02                     move.w     -[A7], D2
  2147. 000017C0  A9A0                     syscall    GetResource
  2148. 000017C2  201F                     move.l     D0, [A7]+
  2149. 000017C4  4A80                     tst.l      D0
  2150. 000017C6  660E                     bne        +0x10 /* 000017D6 */
  2151. 000017C8  3F0B                     move.w     -[A7], A3
  2152. 000017CA  A998                     syscall    UseResFile
  2153. 000017CC  31FC FF40 0944           move.w     [0x00000944 /* PrintErr */], 0xFF40
  2154. 000017D2  4EFA 008A                jmp        [PC + 0x8A /* 0000185E */]
  2155. label000017D6:
  2156. 000017D6  2840                     movea.l    A4, D0
  2157. 000017D8  204C                     movea.l    A0, A4
  2158. 000017DA  A029                     syscall    HLock
  2159. 000017DC  3F0B                     move.w     -[A7], A3
  2160. 000017DE  A998                     syscall    UseResFile
  2161. 000017E0  41EE 000C                lea.l      A0, [A6 + 0xC]
  2162. 000017E4  7007                     moveq.l    D0, 0x07
  2163. 000017E6  C02E 0008                and.b      D0, [A6 + 0x8]
  2164. 000017EA  D02E 000A                add.b      D0, [A6 + 0xA]
  2165. 000017EE  9EC0                     sub.w      A7, D0
  2166. 000017F0  224F                     movea.l    A1, A7
  2167. 000017F2  A02E                     syscall    BlockMove/BlockMoveData
  2168. 000017F4  102E 000B                move.b     D0, [A6 + 0xB]
  2169. 000017F8  0200 007F                andi.b     D0, 0x7F
  2170. 000017FC  2054                     movea.l    A0, [A4]
  2171. 000017FE  4EB0 0000                jsr        [A0 + D0.w]
  2172. 00001802  102E 000B                move.b     D0, [A6 + 0xB]
  2173. 00001806  6A04                     bpl        +0x6 /* 0000180C */
  2174. 00001808  204C                     movea.l    A0, A4
  2175. 0000180A  A02A                     syscall    HUnlock
  2176. label0000180C:
  2177. 0000180C  4EFA 0122                jmp        [PC + 0x122 /* 00001930 */]
  2178. label00001810:
  2179. 00001810  9EFC 0032                sub.w      A7, 0x32 /* '2' */
  2180. 00001814  41FA 019C                lea.l      A0, [PC + 0x19C /* 000019B2, value 0x62E5072, pstring ".Print" */]
  2181. 00001818  2F48 0012                move.l     [A7 + 0x12], A0
  2182. 0000181C  3F7C FFFD 0018           move.w     [A7 + 0x18], 0xFFFD
  2183. 00001822  422F 001B                clr.b      [A7 + 0x1B]
  2184. 00001826  204F                     movea.l    A0, A7
  2185. 00001828  7000                     moveq.l    D0, 0x00
  2186. 0000182A  0881 0004                bclr.b     D1, 0x4
  2187. 0000182E  D241                     add.w      D1, D1
  2188. 00001830  323B 1006                move.w     D1, [PC + D1.w + 0x6]
  2189. 00001834  4EFB 1002                jmp        [PC + D1.w + 0x2]
  2190. 00001838  0068 006E 0074           ori.w      [A0 + 0x74], 0x6E /* 'n' */
  2191. 0000183E  007E 0090                ori.w      <<invalid special address>>, 0x90
  2192. 00001842  00AC 00C0 00E2 00EC      ori.l      [A4 + 0xEC], 0xC000E2
  2193. 0000184A  0030 0044 0020           ori.b      [A0 + D0.w + 0x20], 0x44 /* 'D' */
  2194. 00001850  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2195. 00001854  0020 0020                ori.b      -[A0], 0x20 /* ' ' */
  2196. 00001858  31FC FFCE 0944           move.w     [0x00000944 /* PrintErr */], 0xFFCE
  2197. label0000185E:
  2198. 0000185E  7200                     moveq.l    D1, 0x00
  2199. 00001860  122E 000A                move.b     D1, [A6 + 0xA]
  2200. 00001864  4EFA 00E8                jmp        [PC + 0xE8 /* 0000194E */]
  2201. 00001868  2F3C 8000 0000           move.l     -[A7], 0x80000000
  2202. 0000186E  4EBA FEC2                jsr        [PC - 0x13E /* 00001732 */]
  2203. 00001872  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  2204. 00001876  6624                     bne        +0x26 /* 0000189C */
  2205. 00001878  7200                     moveq.l    D1, 0x00
  2206. 0000187A  6002                     bra        +0x4 /* 0000187E */
  2207. 0000187C  7201                     moveq.l    D1, 0x01
  2208. label0000187E:
  2209. 0000187E  4EBA 00FA                jsr        [PC + 0xFA /* 0000197A */]
  2210. 00001882  4A40                     tst.w      D0
  2211. 00001884  6616                     bne        +0x18 /* 0000189C */
  2212. 00001886  3038 0952                move.w     D0, [0x00000952 /* PrRefNum */]
  2213. 0000188A  4A78 0A60                tst.w      [0x00000A60 /* ResErr */]
  2214. 0000188E  6608                     bne        +0xA /* 00001898 */
  2215. 00001890  4A41                     tst.w      D1
  2216. 00001892  6704                     beq        +0x6 /* 00001898 */
  2217. 00001894  3F00                     move.w     -[A7], D0
  2218. 00001896  A99A                     syscall    CloseResFile
  2219. label00001898:
  2220. 00001898  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2221. label0000189C:
  2222. 0000189C  4EFA 008A                jmp        [PC + 0x8A /* 00001928 */]
  2223. 000018A0  A000                     syscall    Open/PBHOpen/HOpen
  2224. 000018A2  4EFA 0084                jmp        [PC + 0x84 /* 00001928 */]
  2225. 000018A6  A001                     syscall    Close
  2226. 000018A8  4EFA 007E                jmp        [PC + 0x7E /* 00001928 */]
  2227. 000018AC  615E                     bsr        +0x60 /* 0000190C */
  2228. 000018AE  DEFC 002E                add.w      A7, 0x2E /* '.' */
  2229. 000018B2  2E88                     move.l     [A7], A0
  2230. 000018B4  607A                     bra        +0x7C /* 00001930 */
  2231. 000018B6  6154                     bsr        +0x56 /* 0000190C */
  2232. 000018B8  2050                     movea.l    A0, [A0]
  2233. 000018BA  7000                     moveq.l    D0, 0x00
  2234. 000018BC  1028 0007                move.b     D0, [A0 + 0x7]
  2235. 000018C0  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2236. 000018C4  3E80                     move.w     [A7], D0
  2237. 000018C6  6068                     bra        +0x6A /* 00001930 */
  2238. 000018C8  216E 000C 0024           move.l     [A0 + 0x24], [A6 + 0xC]
  2239. 000018CE  216E 0010 0020           move.l     [A0 + 0x20], [A6 + 0x10]
  2240. 000018D4  216E 0014 001C           move.l     [A0 + 0x1C], [A6 + 0x14]
  2241. 000018DA  316E 0018 001A           move.w     [A0 + 0x1A], [A6 + 0x18]
  2242. 000018E0  A004                     syscall    Control
  2243. 000018E2  6044                     bra        +0x46 /* 00001928 */
  2244. 000018E4  6126                     bsr        +0x28 /* 0000190C */
  2245. 000018E6  2050                     movea.l    A0, [A0]
  2246. 000018E8  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2247. 000018EE  6738                     beq        +0x3A /* 00001928 */
  2248. 000018F0  2068 0000                movea.l    A0, [A0 + 0x0]
  2249. 000018F4  A049                     syscall    HPurge
  2250. 000018F6  6030                     bra        +0x32 /* 00001928 */
  2251. 000018F8  6112                     bsr        +0x14 /* 0000190C */
  2252. 000018FA  2050                     movea.l    A0, [A0]
  2253. 000018FC  0828 0006 0005           btst.b     [A0 + 0x5], 0x6
  2254. 00001902  6724                     beq        +0x26 /* 00001928 */
  2255. 00001904  2068 0000                movea.l    A0, [A0 + 0x0]
  2256. 00001908  A04A                     syscall    HNoPurge
  2257. 0000190A  601C                     bra        +0x1E /* 00001928 */
  2258. fn0000190C:
  2259. 0000190C  317C 0001 001A           move.w     [A0 + 0x1A], 0x1
  2260. 00001912  A005                     syscall    Status
  2261. 00001914  2068 001C                movea.l    A0, [A0 + 0x1C]
  2262. 00001918  4E75                     rts
  2263. 0000191A  DEFC 0030                add.w      A7, 0x30 /* '0' */
  2264. 0000191E  3EB8 0944                move.w     [A7], [0x00000944 /* PrintErr */]
  2265. 00001922  600C                     bra        +0xE /* 00001930 */
  2266. 00001924  302E 000C                move.w     D0, [A6 + 0xC]
  2267. label00001928:
  2268. 00001928  DEFC 0032                add.w      A7, 0x32 /* '2' */
  2269. 0000192C  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  2270. label00001930:
  2271. 00001930  7200                     moveq.l    D1, 0x00
  2272. 00001932  122E 000A                move.b     D1, [A6 + 0xA]
  2273. 00001936  7007                     moveq.l    D0, 0x07
  2274. 00001938  C02E 0008                and.b      D0, [A6 + 0x8]
  2275. 0000193C  6710                     beq        +0x12 /* 0000194E */
  2276. 0000193E  204F                     movea.l    A0, A7
  2277. 00001940  43F6 100C                lea.l      A1, [A6 + D1.w + 0xC]
  2278. 00001944  E248                     lsr        D0.w, 1
  2279. 00001946  6002                     bra        +0x4 /* 0000194A */
  2280. label00001948:
  2281. 00001948  32DF                     move.w     [A1]+, [A7]+
  2282. label0000194A:
  2283. 0000194A  51C8 FFFC                dbf        D0, -0x6 /* 00001948 */
  2284. label0000194E:
  2285. 0000194E  4CDF 1800                movem.l    A3,A4, [A7]+
  2286. 00001952  4E5E                     unlink     A6
  2287. 00001954  205F                     movea.l    A0, [A7]+
  2288. 00001956  DFC1                     add.l      A7, D1
  2289. 00001958  584F                     addq.w     A7, 4
  2290. 0000195A  4ED0                     jmp        [A0]
  2291. fn0000195C:
  2292. 0000195C  7000                     moveq.l    D0, 0x00
  2293. fn0000195E:
  2294. 0000195E  9EFC 0040                sub.w      A7, 0x40 /* '@' */
  2295. 00001962  204F                     movea.l    A0, A7
  2296. 00001964  3140 0016                move.w     [A0 + 0x16], D0
  2297. 00001968  42A8 0012                clr.l      [A0 + 0x12]
  2298. 0000196C  A015                     syscall    SetVol/PBHSetVol/HSetVol
  2299. 0000196E  A014                     syscall    GetVol/PBHGetVol/HGetVol
  2300. 00001970  3028 0016                move.w     D0, [A0 + 0x16]
  2301. 00001974  DEFC 0040                add.w      A7, 0x40 /* '@' */
  2302. 00001978  4E75                     rts
  2303. fn0000197A:
  2304. 0000197A  594F                     subq.w     A7, 4
  2305. 0000197C  3F3C E000                move.w     -[A7], 0xE000
  2306. 00001980  A9BA                     syscall    GetString
  2307. 00001982  201F                     move.l     D0, [A7]+
  2308. 00001984  6606                     bne        +0x8 /* 0000198C */
  2309. 00001986  303C FF40                move.w     D0, 0xFF40
  2310. 0000198A  6024                     bra        +0x26 /* 000019B0 */
  2311. label0000198C:
  2312. 0000198C  2240                     movea.l    A1, D0
  2313. 0000198E  61CC                     bsr        -0x32 /* 0000195C */
  2314. 00001990  4841                     swap.w     D1
  2315. 00001992  3200                     move.w     D1, D0
  2316. 00001994  554F                     subq.w     A7, 2
  2317. 00001996  2049                     movea.l    A0, A1
  2318. 00001998  A029                     syscall    HLock
  2319. 0000199A  2F11                     move.l     -[A7], [A1]
  2320. 0000199C  A997                     syscall    OpenResFile
  2321. 0000199E  31DF 0952                move.w     [0x00000952 /* PrRefNum */], [A7]+
  2322. 000019A2  2049                     movea.l    A0, A1
  2323. 000019A4  A02A                     syscall    HUnlock
  2324. 000019A6  3001                     move.w     D0, D1
  2325. 000019A8  4841                     swap.w     D1
  2326. 000019AA  61B2                     bsr        -0x4C /* 0000195E */
  2327. 000019AC  3038 0A60                move.w     D0, [0x00000A60 /* ResErr */]
  2328. label000019B0:
  2329. 000019B0  4E75                     rts
  2330. 000019B2  062E 5072 696E           addi.b     [A6 + 0x696E], 0x72 /* 'r' */
  2331. 000019B8  7420                     moveq.l    D2, 0x20
  2332.